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


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?


Thanks Andrew. It works :)

Suggest an answer

Log in or Join to answer
Community showcase
Maarten Cautreels
Posted Thursday in Off-topic

Friday Fun: What's your favourite beer/drink

As a Belgian, beer-lover and home brewer, beer is one of my great passions. I love the fact that with just a few ingredients (usually just water, hop and malt) you can create so many different tastes...

285 views 38 9
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot