Uploaded image for project: '{RETIRED} XWiki Panels Application'
  1. {RETIRED} XWiki Panels Application
  2. XAPANELS-74

"$rdoc.displayTitle" in panel list is shown if user doesn't have access to the document

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.17
    • 1.16
    • Panels
    • None
    • Panels

    Description

      It was found for /xwiki/bin/inline/Panels/Recently+Modified panel, but could affect also Recently Created and RecentlyVisited panels.
      if user doesn't have access to the document, then $rdoc.displayTitle remains uninitialized and it is shown in panel list.
      Simple fix is setting initial value for it:
      ...
      <span class="pitemseparator"> | </span>
      #end
      #set($title="")
      #set($title=$rdoc.displayTitle)
      <span class="panelitem"><a href="$rdoc.getURL("view")">$title</a></span>
      ...

      Attachments

        Activity

          People

            ancutagheorghe Ancuta Gheorghe
            valdisvi Valdis Vitolins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: