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

This widget could not be displayed.

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.

This widget could not be displayed.

Thanks Andrew. It works :)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

160 views 16 7
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