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

Ensure LiveTables don't break when Nested Spaces are used

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • None
    • 7.1.1
    • LiveTable
    • Unknown
    • N/A
    • N/A

    Description

      Example of code that might break:

      #set($discard = $row.put('doc_space_url', $xwiki.getURL($services.model.createDocumentReference($!itemDoc.wiki, $!itemDoc.space, 'WebHome'))))
      

      (in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-livetable/xwiki-platform-livetable-ui/src/main/resources/XWiki/LiveTableResultsMacros.xml#L324-324)

      Attachments

        1. bug.png
          17 kB
          Ecaterina Moraru (Valica)
        2. spacesDisplay.png
          19 kB
          Ecaterina Moraru (Valica)

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              gdelhumeau Guillaume Delhumeau
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h