Forums

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

Upgrade issues from 3.5 to 4.2.2

MPal Pal
Contributor
June 10, 2012

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

3 votes
Answer accepted
Andrew Frayling
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 10, 2012

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.

0 votes
MPal Pal
Contributor
June 13, 2012

Thanks Andrew. It works :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events