how to avoid data loss after deploying to environment when upgraded to mendix 10.

0
I have upgraded my application to Mendix 10.12.0 from 9.18.4.After upgrade is complete,I deployed the app to Test server for testing ,there I found out the data stored in overview pages is lost after deploying.What can be done to avoid this situation?
asked
2 answers
0

This is strange behavior. Did you test it locally? Upgrading to a new version should not delete data. Overview pages are just a visualization of the data. Maybe this is a different issue?

answered
0

Stop the upgrade and do not deploy it to Production, before you have a successful upgrade. But you already got that part, I guess.

To find out what went wrong, start over and do a clean upgrade without any other changes. Check the database itself, not just the overviewpage, because it might just be one single field that got renamed, which wrecks the retrieve, for instance. Losing the data can occur at changing attribute's datatypes, or at moving or renaming a constant. And some other reasons.

It might also be a solution to restore a backup after you have finished the upgrade.

answered