Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20945

Display macro fails to execute when no reference is specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.4-milestone-1
    • Rendering
    • None
    • Unknown
    • Awaiting Committer feedback

    Description

      To reproduce:

      1. Open the Macro Insertion dialog. (Other Macros)
      2. Find the Display macro in the list, and select it.
      3. 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

        1. image-2023-05-26-15-16-56-100.png
          10 kB
          Dorian Ouakli
        2. mandatory-macro-parameter.png
          34 kB
          Marius Dumitru Florea

        Issue Links

          Activity

            People

              Unassigned Unassigned
              douakli Dorian Ouakli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: