Content type in containers changed after migration from version 2.5.4 to 3.0.0
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
after migration
Containers in dotcms 3.0 support multiple content types and so maybe data stucture had changed and old values did not migrate.
We experienced this too.
@oarrietadotcms as we discussed we need a JSP for this who already upgraded and a fix for the task
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)