Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.4-milestone-1
-
None
-
Unknown
-
Awaiting Committer feedback
-
Description
To reproduce:
- Open the Macro Insertion dialog. (Other Macros)
- Find the Display macro in the list, and select it.
- Leave the reference page field empty and click Submit.
I think setting the reference page field should be marked as mandatory to prevent this.
Attachments
Issue Links
- depends on
-
XWIKI-23043 Provide validation and UI for group of macro parameters belonging to same feature
-
- Open
-
-
XCOMMONS-2738 Introduce the notion of mandatory property feature
-
- Closed
-
- is related to
-
XWIKI-20944 Include macro fails to execute when no reference is specified
-
- Open
-
If you're referring to the WYSIWYG editor then it prevents you from inserting the macro and it focuses and highlights the mandatory field.
On the macro rendering side there should be no difference: we already consider the reference to be mandatory, it's just that it's not marked as such in the macro descriptor.