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

Page Properties Report columns with same name are listed separately or not showing

    XMLWordPrintable

Details

    Description

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

      Symptoms:
      On the Page Properties Report macro either:

      A) Content is missing:

      B) Columns are duplicated:

      Cause:
      When manually modifying a Page Properties table, a hidden tag (like <p> or <span>) might be present in the field text, making fields with same text be treated as different. This also makes impossible to list a column by it's name.

      See the differences in the Storage Format of:

      Project Page 3 <SPAN>
      <ac:structured-macro ac:name="details"><ac:rich-text-body>
      <table><tbody><tr>
      <td><p>Priority</p></td>
      ....
      </tr>
      <tr>
      <td><span>Status</span></td>
      ....
      

      vs

      Project Page 1
      <ac:structured-macro ac:name="details"><ac:rich-text-body>
      <table><tbody><tr>
      <td>Priority</td>
      ....
      </tr>
      <tr>
      <td>Status</td>
      ...
      

      So:

      • in A) there is a Column Filter applied (Status, Priority) but the Report doesn't find those Columns in "Project Page 3 <SPAN>" because those fields have other characters in it.
      • in B) the columns are listed separately because although they look the same, they are different to the Report macro.

      Expected:

      • Special tags to be ignored. If rows look the same, to be treated like the same.

      Steps to reproduce:
      To get the <p> or <span> values in the table you have to:

      1. Write two lines of text anywhere on the page
      2. Copy the lines inside the table
        Editing the field names from now on, will keep the <p> or <span> value on them.

      Workaround:

      • Remove the table's row and create it again, for every row with the problem.

      Attachments

        1. duplicated.jpeg
          33 kB
          Mauro Badii
        2. missing.jpeg
          34 kB
          Mauro Badii

        Issue Links

          Activity

            People

              agnes@atlassian.com Agnes Ro
              mfernandezbadii Mauro Badii
              Votes:
              3 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: