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

Pages are created outside of page hierarchy when triggering create page from draft

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.7.0, 6.8.1, 7.3.3, 7.4.0, 7.5.0, 7.13.0
    • Editor - Core

    Description

      Issue Summary

      Hierarchy is lost when you create a child page before publishing the "draft-parent" page.

      Steps to Reproduce

      Version 1 

      • Visit page A
      • Press the 'Create' button
      • After the new page draft opens, press the 'Create' button again
      • Give the new page a name 'B' and 'Publish'

      Version 2 

      • Visit a page 'A'
      • Press shortcut 'c' and keep the key pressed.
      • Wait until at least 2 page loads did occur
      • give the new draft a name 'B' and 'Publish'

      Expected Results

      • Confluence will not allow you to hit the "Create" button if you haven't published the page.
      • New page with hierarchy: A -> B

      Actual Results

      • On Page Information the parent is listed as "$webwork.htmlEncode($content.displayTitle)".
      • Checking internally in the database, the first page(Page A) will be a draft without title, hence causing the "$webwork.htmlEncode($content.displayTitle)".

      Notes

      • After updating the null entries and rebuilding the ancestor table, the problem is still not resolved as it was created a page from a draft.
      • The page can be put back into the page hierarchy by simply doing a 'move' on it, and selecting a regular page as the new parent.

      Workaround

      A workaround for this is to move the child page to a new parent page temporarily and then moving it back to it's original location

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gviana Guilherme V. (Inactive)
              Votes:
              15 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated: