Core.Commit(context, System.proxies.user.getMendixObject()) returns error Autocommitted objects detected at end of transaction for system session for entities

0
Core.Commit(context, System.proxies.user.getMendixObject()) returns error Autocommitted objects detected at end of transaction for system session for entities  - System.UserRole: 1 instances  - System.Language: 1 instances not sure if we can commit user object this way?? am I missing anything here?    
asked
1 answers
1

What is the situation where this occures?

Auto committed objects are related to a commit of an object with references to new object(s) where the committed object is the Owner of the association. The referenced objact(s) are autocommitted, since the Database stores the ID of the referenced object in the association table. Since new objects arent available in the database this is impossible => Thus they are autocommitted by Mendix to ensure the database can store the reference.

BUT; Language and Role objects are handled by Mendix and there shouldn't be new objects in any case. So I do wonder, when and where does this happen and what is done with the Userrole & Language objects?

 

answered