Create Template button redirects the page to the main page of Confluence 9.2.3 when it is located in an HTML table header

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • 0

      Issue Summary

      Create Template button redirects the page to the main page of Confluence 9.2.3 when it is located in an HTML table.
      The Create From Template macro is used to create new pages via a button by using prepared Blueprints or Templates on Confluence. If the macro is located in an HTML table, the button function redirects Confluence to the main page.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Created a Confluence 9.2.3 environment
      2. Install the Confluence Source Code editor plugin.
      3. Using the below storage format that contains the Create Template button (This button is created by Create From Template Macro), and the button is located in the HTML table (Ensure the space-key="<Space_Key>" in the code matches the space name where this page exists);
        <table class="wrapped">
          <colgroup> <col/> </colgroup>
          <tbody>
            <tr>
              <th class="highlight-#b3d4ff" data-highlight-colour="#b3d4ff" scope="col" title="Hintergrundfarbe: Hellblau 100 %">
                <div class="content-wrapper">
                  <p>
                    <br/>
                  </p>
                  <p>
                    <br/>
                  </p>
                  <p>
                    <ac:structured-macro ac:macro-id="4bab9f82-e5ce-4af6-85e3-ac6d242bae05" ac:name="create-from-template" ac:schema-version="1">
                      <ac:parameter ac:name="spaceKey">
                        <ri:space ri:space-key="NS"/>
                      </ac:parameter>
                      <ac:parameter ac:name="blueprintModuleCompleteKey">com.atlassian.confluence.plugins.confluence-business-blueprints:meeting-notes-blueprint</ac:parameter>
                      <ac:parameter ac:name="contentBlueprintId">76a5c21d-d21b-486a-9aab-b1bd37129c84</ac:parameter>
                      <ac:parameter ac:name="templateName">76a5c21d-d21b-486a-9aab-b1bd37129c84</ac:parameter>
                      <ac:parameter ac:name="title">My Template @currrentDate</ac:parameter>
                      <ac:parameter ac:name="buttonLabel">Create from template</ac:parameter>
                    </ac:structured-macro>
                  </p>
                  <br/>
                  <p>
                    <br/>
                  </p>
                </div>
              </th>
            </tr>
          </tbody>
        </table>
        <p>
          <br/>
        </p>
        
      4. After clicking the Create from Template button, the dialog box appeared on the UI
      5. Clicking the Close button of the dialog box and refreshing the page
      6. Then, clicking the Create from Template button, the main page redirects to Confluence main land, however, the blueprint creation dialog box also appears on the UI.

      Note: Sometimes the issue is also reproducible after clicking the Create from Template button for the first time.

      Expected Results

      The main page shouldn’t be redirected to the main page.

      Actual Results

      The main page redirects to Confluence main land, however, the blueprint creation dialog box also appears on the UI.

      BluePrint Create Page.mov

      Workaround

      1. Edit the affected page that contains the create template button
      2. Remove the table HTML from the page, and place the button without any table
      3. Save the page

            Assignee:
            Unassigned
            Reporter:
            Kaan Çalışkan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: