Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Parent Page is: $webwork.htmlEncode($content.displayTitle)

Benjamin van Caspel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2018

So Somehow I created a page that has a weird parent and I don't know how to change it to where we actually want it:

Parent Page
    Page: $webwork.htmlEncode($content.displayTitle)

It doesn't appear in the Reorder Page or the left "Pages" nav but when you're within that page the the breadcrumb says it's parented to the page we want. It also doesn't appear as an Orphaned Page.

If it wasn't for the comments (the page was reached through the email updates), I would delete it and make a new one.

3 answers

1 vote
Simon Tost _TNG_
Contributor
May 13, 2020

We saw this in our instance, too.

Rebuilding the ancestor table as suggested by AnnWorley did not help us.

Looking at the database, we found that the 'parent' is not a regular page, but a page draft.
By just 'moving' the affected page back to it's intended parent we were able to repair the pagetree.

We found the affected pages in our database via

select contentid, title, content_status, contenttype, parentid 
from content
where parentid in (
select contentid
from content
where content_status = 'draft'
and contentid in (
select parentid
from content
where contenttype = 'PAGE' and content_status = 'current'
)
);

(This may turn up drafts, which are children of drafts, as well. Not sure how to deal with those. Used to be, you could get rid of all drafts by switching collaborative editing off and on...)

However, the really interesting question: How does this situation come about? -- I have no answer to. :-(

 

(Confluence 7.3.3)

Simon Tost _TNG_
Contributor
June 2, 2020

Answer: Keep 'c' pressed, or  press 'create' multiple times in a row. :)

-> Tracking issue: https://jira.atlassian.com/browse/CONFSERVER-59887

0 votes
g
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 1, 2018

Hi Benjamin,

 Please check this KB. It is possible that your page does not have a title.

 Cheers!

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2018

Hi Benjamin,

The ancestor table in the Confluence database records the parent and descendant (child) relationship between pages. Please try Rebuilding the Ancestor Table to make the correct parent/child relationships show up as expected.

I look forward to hearing how it goes.

Thanks,

Ann

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events