Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-551

Cannot put a {{putFootnotes}} macro inside another macro

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Try the following code:

      {{footnote}}External Link{{/footnote}}
      
      {{box}}
      {{putFootnotes/}}
      {{/box}}
      

      Error:

      Failed to execute the [putFootnotes] macro. Cause: [null]. Click on this message for details.
      java.lang.NullPointerException
      

      I've tried with Box and Info macros. My need was to visually display the footnotes using a background container.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                evalica Ecaterina Moraru (Valica)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: