Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-33880

Pages with links to pages in the same space result in unexpected behavior with the ServiceRocket Reporting Plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Tracked Elsewhere
    • Icon: Low Low
    • None
    • None
    • None
    • None

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      When pages that link to other pages in the same space, the space key is not included in the storage format of the link, as it is when pages link to pages in other spaces.

      This causes unexpected behavior with the ServiceRocket Reporting Plugin when a report is created in one space that reports on another space that has pages with links to each other. When the content (with links) from Space1 is shown in the report on Space2, the links will incorrectly point to Space2 when clicked.

      To Reproduce

      1. Create 2 spaces with space keys e.g. MVP and GLO
      2. Create 2 pages in GLO space, named Page1 and Page2
      3. In Page1, add link to Page2 i.e. [Page2|GLO:Page2]
      4. Create 1 page in MVP space, add below markup:
        {report-table}
        {content-reporter:space=GLO|types=page}
        {content-reporter}
        
        {report-column:title=Title|width=200px}
        {report-info:content:title|link=true}{report-column}
        
        {report-column:title=Contents|width=600px}{report-info:content:body>text|render=richtext}{report-column}
        {report-table}
        
      5. You should find a table with 2 rows: Page1 and Page2 of GLO space, with 2 columns that show page title and page contents. In the second column of Page1, click on the link and it will direct you to Page 2 in the MVP space rather than to Page 2 in the GLO space.

      Environment

      ServiceRocket Reportin Plugin, version 4.2.3

              shaffenden Steve Haffenden (Inactive)
              btom1 Brian
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: