Page Properties Report macro showing duplicate column for same key when one of the page properties report macro contains addtional <div> or <p> tag and colum header contains characters like Ã

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Page Properties Report macro will show a column as duplicate when one of the page properties sonatinas additional <div> or <p> tag in the header.
      PS: Tested in Confluence 7.3.2 with same storage format and the issue is not reproducible there.

      Steps to Reproduce

      1. Download source editor plugin
      2. Create a page and name it page properties 1 and import the following storage format to page properties 1
        <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="details" ac:schema-version="1" ac:macro-id="f6c757b9-b753-43b0-9dc2-4a83012cdcb5"><ac:rich-text-body>
        <p class="auto-cursor-target"><br /></p>
        <table class="wrapped"><colgroup> <col style="width: 164.0px;" /> <col style="width: 756.0px;" /> </colgroup>
        <tbody>
        <tr>
        <th>
        <div class="content-wrapper">
        <p>ID</p></div></th>
        <td>
        <div class="content-wrapper">
        <p class="auto-cursor-target">2019/114</p></div></td></tr>
        <tr>
        <th colspan="1">test&Atilde;</th>
        <td colspan="1">
        <div class="content-wrapper">
        <p class="auto-cursor-target"><span>1</span></p></div></td></tr></tbody></table>
        <p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro>
        <p class="auto-cursor-target"><br /></p>
        
      3. Create a page and name it page properties 1 and import the following storage format to page properties 2
        <p class="auto-cursor-target"><br /></p><ac:structured-macro ac:name="details" ac:schema-version="1" ac:macro-id="f6c757b9-b753-43b0-9dc2-4a83012cdcb5"><ac:rich-text-body>
        <p class="auto-cursor-target"><br /></p>
        <table class="wrapped"><colgroup> <col style="width: 164.0px;" /> <col style="width: 756.0px;" /> </colgroup>
        <tbody>
        <tr>
        <th>
        <div class="content-wrapper">
        <p>ID</p></div></th>
        <td>
        <div class="content-wrapper">
        <p class="auto-cursor-target">2020/055</p></div></td></tr>
        <tr>
        <th>
        <p>test&Atilde;</p></th>
        <td>
        <p><span>1</span></p></td></tr></tbody></table>
        <p class="auto-cursor-target"><br /></p></ac:rich-text-body></ac:structured-macro>
        <p class="auto-cursor-target"><br /></p>
        
      4. Create a page and name it page properties 1report and import the following storage format to page properties report
        <p><ac:structured-macro ac:name="detailssummary" ac:schema-version="2" ac:macro-id="0fefe94c-1313-47e0-9da5-78f272ee550c"><ac:parameter ac:name="firstcolumn">Ma&Atilde;&Yuml;nahme</ac:parameter><ac:parameter ac:name="pageSize">100</ac:parameter><ac:parameter ac:name="sortBy">Status</ac:parameter><ac:parameter ac:name="cql">label = &quot;testproperties&quot; and space = currentSpace()</ac:parameter></ac:structured-macro></p>
        
      5. Add testproperties label to page properties 1 and page properties 2
      6. Edit the page properties report macro in page properties report page to show tables from testproperties label.

      Expected Results

      No duplicate column show in the page properties report macro

      Actual Results

      duplicate column shown

      Workaround

      Remove the special characters or remove the additional tag in the column.

      Alternatively enable the dark feature masterdetail.legacy.parse (fixes the issue but also will limit number of rows shown to 1000 in page property report)

            Assignee:
            Alex K
            Reporter:
            Lipkent Ng (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: