Details
-
Improvement
-
Resolution: Fixed
-
Trivial
-
4.5
-
None
-
Trivial
-
N/A
-
N/A
-
Description
The method getURL in class XWikiDocument needs a string parameter called action. It is not clear which values are valid here. We guessed view and it worked. Maybe "edit" is working as well, but guessing is not the right thing to do.
Either use an enumeration instead of a string (preferred method) or provide a list of valid string values in the javadoc (quick fix).