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
The create method says "Does nothing if the store already exists." but it doesn't.
Putting await FMTCStore('mapStore').manage.create(); in the main method which means executed each time the app stared will trigger UniqueViolationException, the first time everything will work find because the store name hasn't been created yet, but when you refresh the app the following exception occurs. UniqueViolationException (ObjectBoxException: object put failed: Unique constraint for ObjectBoxStore.name would be violated by putting object with ID 2 because same property value already exists in object with ID 1)
What is the bug?
The
create
method says "Does nothing if the store already exists." but it doesn't.Putting
await FMTCStore('mapStore').manage.create();
in the main method which means executed each time the app stared will triggerUniqueViolationException
, the first time everything will work find because the store name hasn't been created yet, but when you refresh the app the following exception occurs.UniqueViolationException (ObjectBoxException: object put failed: Unique constraint for ObjectBoxStore.name would be violated by putting object with ID 2 because same property value already exists in object with ID 1)
How can we reproduce it?
Do you have a potential solution?
No
Platforms
macOS 15.1
Severity
Fatal: Causes the application to crash
The text was updated successfully, but these errors were encountered: