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

Error when saving a page if parent page's title is changed

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Scenario:

      • Open page A for editing.
      • Open page B for editing, where page B is the parent of page A.
      • Change the title of page B.
      • Save page B.
      • Try to save page A.

      You get an error message:

      The following error(s) occurred:

      • The parent page specified does not exist.

            [CONFSERVER-21754] Error when saving a page if parent page's title is changed

            Fixed for 3.5-beta3. We reuse the same message in a few different contexts, so it ended up as this:

            The parent page specified does not exist. It may have been renamed or removed since you started editing.

            That is, I didn't suggest where to modify the location because the same message can appear within the move/reorder dialogs, not just on the edit page itself.

            Matt Ryall added a comment - Fixed for 3.5-beta3. We reuse the same message in a few different contexts, so it ended up as this: The parent page specified does not exist. It may have been renamed or removed since you started editing. That is, I didn't suggest where to modify the location because the same message can appear within the move/reorder dialogs, not just on the edit page itself.

            SarahA added a comment -

            Perfect!

            SarahA added a comment - Perfect!

            Matt Ryall added a comment -

            Yeah, I think the hint would be a good idea. I'd probably word it conditionally, since this isn't the only reason you can get the error message. It happens more often if you don't use the autocomplete, but hit enter or click OK in the dialog with an invalid page title.

            The parent page specified does not exist. It may have been renamed or removed since you started editing. Please click 'Location' to select a new parent page.

            How about that?

            Matt Ryall added a comment - Yeah, I think the hint would be a good idea. I'd probably word it conditionally, since this isn't the only reason you can get the error message. It happens more often if you don't use the autocomplete, but hit enter or click OK in the dialog with an invalid page title. The parent page specified does not exist. It may have been renamed or removed since you started editing. Please click 'Location' to select a new parent page. How about that?

            SarahA added a comment -

            Ah, I see. I expected it to understand that the page had been renamed, and automatically change the parent reference. But I understand about the index.

            Perhaps we could solve it by adding a hint to the error message: "The page may have been renamed. You can re-assign the parent by clicking 'Location' and finding the new parent page."

            SarahA added a comment - Ah, I see. I expected it to understand that the page had been renamed, and automatically change the parent reference. But I understand about the index. Perhaps we could solve it by adding a hint to the error message: "The page may have been renamed. You can re-assign the parent by clicking 'Location' and finding the new parent page."

            Matt Ryall added a comment -

            I think this is working as designed, Sarah. You should be able to set the parent page to the renamed page and resubmit your edits.

            The reason we use space key plus page title to identify the parent page rather than the page ID is so that you can set the parent page to one that Confluence hasn't indexed yet. Switching to use an ID-based parent page submission would mean that you couldn't choose a parent page which you added in the last minute or so. The approach we ended up with seemed like the lesser of two evils.

            Please let me know what your expected behaviour would be.

            Matt Ryall added a comment - I think this is working as designed, Sarah. You should be able to set the parent page to the renamed page and resubmit your edits. The reason we use space key plus page title to identify the parent page rather than the page ID is so that you can set the parent page to one that Confluence hasn't indexed yet. Switching to use an ID-based parent page submission would mean that you couldn't choose a parent page which you added in the last minute or so. The approach we ended up with seemed like the lesser of two evils. Please let me know what your expected behaviour would be.

              matt@atlassian.com Matt Ryall
              smaddox SarahA
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: