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

Can't use the velocity macro inside Dashboard gadgets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1-rc-1, 4.0.1
    • 4.1-milestone-2
    • Dashboard
    • None
    • dashboard macro nested velocity gadget
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      After the introduction of the user dashboard feature (XWIKI-6820), the Dashboard.WebHome page started using the activity macro inside a velocity macro. This had the effect that all gadgets trying to use the velocity macro for themselves got a "Nested script exception" since a velocity macro inside another velocity macro is not allowed.

      To fix this, the Dashboard java macro needs to implement NestedScriptMacroEnabled to allow inner velocity macros (inside gadgets).

      Attachments

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: