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

Page Properties Report Macro Does Not Include All Selected Page Properties Macros on a Single Page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 5.7
    • None

      You can add multiple Page Properties macros on a page, and choose whether to include all or only specific macros in the report. The Page Properties macro includes an optional ID parameter that can be used to identify specific Page Properties macros.

      To show the contents of:

      Selected Page Properties macros in the report - specify both the label for the page and the ID of the particular Page Properties macro.
      Note: The Page Properties Report macro can only accept one page label, and one ID.

      This situation involves Page Properties ID.

      Steps to Reproduce

      1. Create a new page using the following Storage Format. (Let's name it "Test 2")
        
        <h1>Test 2.0</h1><ac:structured-macro ac:name="details"><ac:rich-text-body>
        <table>
        <tbody>
        <tr>
        <th>Project</th>
        <td>Test</td></tr>
        <tr>
        <th>Version</th>
        <td>2.0</td></tr>
        <tr>
        <th>Status</th>
        <td><ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Green</ac:parameter><ac:parameter ac:name="title">completed</ac:parameter><ac:parameter ac:name="" /></ac:structured-macro></td></tr>
        <tr>
        <th>Due Date</th>
        <td><time datetime="2015-01-04" />&nbsp;</td></tr></tbody></table></ac:rich-text-body></ac:structured-macro>
        <p>&nbsp;</p>
        <h1>Test 2.1</h1><ac:structured-macro ac:name="details"><ac:parameter ac:name="id">test2</ac:parameter><ac:rich-text-body>
        <table>
        <tbody>
        <tr>
        <th>Project</th>
        <td>Test</td></tr>
        <tr>
        <th>Version</th>
        <td>2.1</td></tr>
        <tr>
        <th>Status</th>
        <td><ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Yellow</ac:parameter><ac:parameter ac:name="title">in progress</ac:parameter><ac:parameter ac:name="" /></ac:structured-macro></td></tr>
        <tr>
        <th>Due Date</th>
        <td><time datetime="2015-02-10" />&nbsp;</td></tr></tbody></table></ac:rich-text-body></ac:structured-macro>
        <p>&nbsp;</p>
        <h1>Test 2.2</h1><ac:structured-macro ac:name="details"><ac:rich-text-body>
        <table>
        <tbody>
        <tr>
        <th>Project</th>
        <td>Test</td></tr>
        <tr>
        <th>Version</th>
        <td>2.2</td></tr>
        <tr>
        <th>Status</th>
        <td><ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Red</ac:parameter><ac:parameter ac:name="title">Not Started</ac:parameter></ac:structured-macro></td></tr>
        <tr>
        <th>Due Date</th>
        <td><time datetime="2015-03-15" />&nbsp;</td></tr></tbody></table></ac:rich-text-body></ac:structured-macro>
        <p>&nbsp;</p>
        <h1>Test 2.3</h1><ac:structured-macro ac:name="details"><ac:parameter ac:name="id">test2</ac:parameter><ac:rich-text-body>
        <table>
        <tbody>
        <tr>
        <th>Project</th>
        <td>Test</td></tr>
        <tr>
        <th>Version</th>
        <td>2.3</td></tr>
        <tr>
        <th>Status</th>
        <td><ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Red</ac:parameter><ac:parameter ac:name="title">Not Started</ac:parameter></ac:structured-macro></td></tr>
        <tr>
        <th>Due Date</th>
        <td><time datetime="2015-03-31" />&nbsp;</td></tr></tbody></table></ac:rich-text-body></ac:structured-macro>
      2. Add label "test" to the page "Test 2".
      3. Create another page that contains Page Properties Report macro using the following Storage Format. (Let's say Project Report)
        <p><ac:structured-macro ac:name="detailssummary"><ac:parameter ac:name="id">test2</ac:parameter><ac:parameter ac:name="label">test</ac:parameter></ac:structured-macro></p>
      4. Save the page.
      5. Observe the result

      Expected Behaviour

      The Page Properties Report Macro should includes all selected Page Properties macro (test2) in page "Test 2".

      Actual Behaviour

      Page Properties Report Macro only return the first selected Page Properties macro in page "Test 2". Please refer to the following image:

      References

      Page Properties Macro
      Page Properties Report Macro

        1. selectedproperties.png
          106 kB
          Kok Yan Yong

              Unassigned Unassigned
              kyong Kok Yan Yong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: