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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 6.7.0, 6.8.1, 7.3.3, 7.4.0, 7.5.0, 7.13.0, 9.2.1, 8.5.19
    • Component/s: Editor - Core
    • 9
    • Severity 3 - Minor
    • 2

      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

            Assignee:
            Unassigned
            Reporter:
            Guilherme V. (Inactive)
            Votes:
            20 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated: