System.owner is not a persistable association in Deeplink after upgrade 6.5.1 > 6.8.1

2
After a "successful" upgrade from 6.5.1 tot 6.8.1 I get the error below when trying to open the application. Deeplink module is untouched and anonymous users is enabled. Anyone else encountered this or that might have an idea on how to solve this? Thanks com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=56576470318866257 objectType=System.User entityID=201]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back at DeepLink.DeepLinkHome (RetrieveByXPath : 'Retrieve PendingLink from database') at General.InitializeHomePageLogin (SubMicroflow : 'DeepLinkHome') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=56576470318866257 objectType=System.User entityID=201]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=56576470318866257 objectType=System.User entityID=201]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:40) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"id":"[MendixIdentifier:: id=56576470318866257 objectType=System.User entityID=201]","type":"RetrieveIdAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:303) Caused by: com.mendix.core.CoreRuntimeException: 'System.owner' is not a persistable association at com.mendix.connectionbus.DomainModelUtil$.getMetaAssociationOnChild(DomainModelUtil.scala:35) at com.mendix.connectionbus.DomainModelUtil.getMetaAssociationOnChild(DomainModelUtil.scala ....
asked
2 answers
0

Hi Nick,

I experienced the same problem. It also comes up when you login as MxAdmin. It breaks the feedback widget.

I created a support ticket for it, so it will be fixed soon.

answered
0

So this was caused by System members being configured on non-persistable entities(NPE's). Though imho this should not be possible at all (in the Modeler), this caused the error "System.owner is not persistable". After removing all System members from all NPE's in our project, the problem was solved and we were able to move forward with the 6.9.0 upgrade.

answered