You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm calling navigator like that: let response = await this.sdk.navigator.openEntry(id, {slideIn: { waitForClose: true }} );
and though the fields of entry in response always contain the last updates, the version is sometimes stale (couldn't find any pattern in correct/incorrect responses).
lib version: 4.12.0
The text was updated successfully, but these errors were encountered:
Hello, yes the data is correct and sys.version is stale.
I've found what's the reason for it - turned out after navigation window is closed no additional request is made. That means the entry that was present on UI is returned as a result. But the version is updated asynchronously. So it can happen that you've changed the field, go back and get the data changed but not version. Not very much pleasant behaviour, cause as a result you get an entity in inconsistent state. But not sure it can be done better in that case - at least it's always an option to re-request the version on client side or try to increase it on update in case of VersionMistmach error.
Hello,
I'm calling navigator like that:
let response = await this.sdk.navigator.openEntry(id, {slideIn: { waitForClose: true }} );
and though the fields of entry in response always contain the last updates, the version is sometimes stale (couldn't find any pattern in correct/incorrect responses).
lib version: 4.12.0
The text was updated successfully, but these errors were encountered: