Upgrade issues from 3.5 to 4.2.2

I recently ugraded confluence from 3.5 to 4.2.2 and now I cannot edit or copy pages of spaces which were originally done in 3.5.

When I try to copy, following error is thrown:

java.lang.UnsupportedOperationException: The body of this ContentEntityObject ('Service Management') was 'BodyType:WIKI' but was expected to be 'BodyType:XHTML'
at com.atlassian.confluence.core.ContentEntityObject.getBodyContent(ContentEntityObject.java:201)

When I try to edit, only the page title shows. Content is not visible for edit.

This doesn't apply to pages created in 4.2.2 itself.

Any idea what could have happened in the upgrade to cause the issue please?

2 answers

1 accepted

Hi,

It sounds ike the migration from wiki to xhtml didn't complete properly. Have a look at Re-running Migration at https://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format for details on how to manually run the migration process again.

Hope that's of some help?

Andrew.

Thanks Andrew. It works :)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

65 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you