core icon indicating copy to clipboard operation
core copied to clipboard

Content type in containers changed after migration from version 2.5.4 to 3.0.0

Open grinev opened this issue 11 years ago • 3 comments

We've updated dotcms from version 2.5.4 to 3.0.0 and content on some pages dissapeared. As far as we understand db migration was succesful because db_version becomes 3060.

Then we found what cause this problem: in content containers content type changed to the first value in a list and content code clears. If we set content type and code as in previous version - everything works fine.

See examples below:

before migration 2

after migration 1

Containers in dotcms 3.0 support multiple content types and so maybe data stucture had changed and old values did not migrate.

grinev avatar Dec 26 '14 08:12 grinev

We experienced this too.

jkshapiro avatar Dec 29 '14 15:12 jkshapiro

@oarrietadotcms as we discussed we need a JSP for this who already upgraded and a fix for the task

jtesser avatar Dec 29 '14 16:12 jtesser

Fixed in code with this pull request: https://github.com/dotCMS/core/pull/6876

And this JSP can be use to migrate the data in the clients that already did the upgrade to 3.0.

https://gist.github.com/oarrietadotcms/dcd580fb800ae92a6fc4 (FixTask03000.jsp)

oarrietadotcms avatar Dec 29 '14 17:12 oarrietadotcms