During upgrade, we need to upgrade the initial objects manually to import any changes of them. E.g. if there is a upgrade of object collections ("Resources Up") etc. we won't get such upgrades during upgrade automatically.
Maybe we should think of a way where some/all initial objects could be automatically reimported even when they exist in repository but only if they are in the original state.
Example: if object collection "Resources Up" was created in midpoint 4.0 and not touched ever since (not counting metadata etc), and now in version 4.x we have an upgraded version of the same object in initial objects, we could automatically upgrade it.
- maybe not all objects, maybe some mark can be used on some of them. Or maybe even admin can mark some of them as not automatically upgradable
- certainly not for "administrator" user
- only if the object has not been modified from the "former default" which would require some kind of "checksum"