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

    • 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

            [CONFSERVER-36633] Page Properties Report Macro Does Not Include All Selected Page Properties Macros on a Single Page

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2898739 ] New: CONFSERVER Bug Workflow v4 [ 2992786 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2791255 ] New: JAC Bug Workflow v3 [ 2898739 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2721293 ] New: JAC Bug Workflow v2 [ 2791255 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391121 ] New: JAC Bug Workflow [ 2721293 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2270742 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2391121 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221117 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2270742 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2163623 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2221117 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1919989 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2163623 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1729930 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1919989 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1690704 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1729930 ]

              Unassigned Unassigned
              kyong Kok Yan Yong (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: