Hi Akira,
The data will still be stored in the database. It gets automatically commited, because an associated entity has been commited. This usually occurs since the objects mentioned in the error message are created but never committed.
To find out where this error comes from you should go to your domain model and look for the entity that is mentioned in the error message. Right click and select find usages in actions. Look through all places where this object is created and try to identify if it is created somewhere, without being commited. Add a commit there and it should solve the problem. The error message doesn't show the exact code that makes this happen, so you will have to research it a bit.
Hope this helps!
Hi buddy this might help you to know the cause for occurrence
Here is an example domain model that showcases this situation:
To continue the example, here is the related nanoflow:
The example above saves the $NewOrder
object to the local database, including the association value referencing the uncommitted $NewCustomer
object. Since the $NewCustomer
is not yet committed, however, the reference is invalid. To solve this issue, the nanoflow must commit the $NewCustomer
object.
for more details please refer https://docs.mendix.com/refguide/mobile/building-efficient-mobile-apps/offlinefirst-data/auto-committed-objects/
Hi, Matteo & Mohamedbeemubeen
First of all, appriciated your rapidly and kindly reply for my questons.
We shared you guys information with our team members.
Hopefully our issue would be solved with this info.
just contined to investigate which actions cause this issue.
thanks again.
Akira