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

Dashboards of users without script right have translation calls in gadget titles

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.6.7, 12.10.3, 13.0
    • Dashboard
    • None
    • Unknown

    Description

      Steps to reproduce:

      1. As a user without script right, add a gadget in the "My dashboard" section of the user profile (like a "Page Tree").
      2. Save the user profile.

      Expected result:

      The gadget's title is shown as "Page Tree".

      Actual result:

      The gadget's title is shown as "$services.localization.render('rendering.macro.documentTree.name')".

      This is because the user doesn't have script right and as XWIKI-17794 has been fixed, users without script right cannot execute scripts in gadget titles anymore. While this is expected, it is not good that the gadget titles aren't displayed anymore.

      Attachments

        Issue Links

          Activity

            People

              MichaelHamann Michael Hamann
              MichaelHamann Michael Hamann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: