Account Entity Retrive Issue

0
Hi, In Native app I am using a nanoflow to fetch/retrieve the User Account(Administrator.Account) by currentUser but in “Mendix Studio Pro v9.12.2” in place of Account data, “Sysytem.User” entity data is getting fetched but the same nanoflow is working fine with “Mendix Studio Pro v9.6.6”. There I was able to get Account data. Is there any configuration or security changes in updated version?? Folowing is the image for “Mendix Studio Pro v9.12.2”.
asked
3 answers
1

Hi all,

 

We were experiencing the same issue after we upgraded top 9.18.3.

 

Solution is to remove user from the offline synchronization in your navigation. To do this you first have to remove all System.User usages from your native application and replace it with Administration.Account, then you are able to remove System.User from the synchronization. 

https://docs.mendix.com/refguide/mobile/building-efficient-mobile-apps/offlinefirst-data/best-practices/#inheritance

answered
0

Wow, that is weird behavior. 9.12.2 the retrieve of an object of entityA that is a specialization of entityX still behaves like before. It retrieves the object of entityA

Is your database intact? Check if you still have the object Account with id 10414574138295474. But even if you don’t, still this is very weird. Hope some can explain it.

 

answered
0

Hi there,

Did you find a solution? Running into the exact same problem in 9.18.3.
Works fine in 9.12.5  but after the upgrade all my mobile nanoflows retrieve system.users instead of the account.

answered