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

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

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    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

        1. Test.WebHome.xar
          0.9 kB
        2. bug.png
          bug.png
          103 kB
        3. box-footnote.log
          14 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: