Hi i am getting error like this from few record s randomly. Selected entity exists. What can be reason for this?

getting entity relation by



It seems that at first moment system cant save entity with relation to this record. But if triggered again it works.

Can you show your code, how you try to update the entity?
It looks like you are trying to use dataManager.getReference() in a wrong situation.

@AlexBudarov this started after upgrade from: 7.2.7 > 7.2.8

Entity is updated in ServiceBean and as i stated. Was working correctly before. Project is too big for sharing. I will try to replicate in example. Table i am relating to is in secondary datasource.