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
It appears that sometimes it can happen that a bad save would remove all entities (but not categories). Only resetting to a previous version solves this issue at the moment.
In case there has been any bug/issue with parsing PandoraEntity, rather than not loading it (current behavior) we should "lock" the save mechanism and only unblock it after the addon has been "reloaded" - that ideally should happen automatically once the error is fixed. We would need to figure out how exactly Godot notifies on compilation errors.
attempt to load Pandora
in case loading failed for whatever reason, prevent being able to save (and even use the Pandora UI) but instead retry to load
once the compilation errors have been addressed and all entities could be loaded correctly, display the Pandora UI
Once data is loaded successfully, someone could go and again break things - in case trying to save an existing entity results in either a null or empty dictionary, do the same approach:
disable the save mechanism until the issue is fixed (and notify the user)
once the compilation/error is resolved, auto-save
bitbrain
changed the title
Bad save can remove all entities
Data loss can occur
Sep 1, 2023
It appears that sometimes it can happen that a bad save would remove all entities (but not categories). Only resetting to a previous version solves this issue at the moment.
Addressed Cases
The text was updated successfully, but these errors were encountered: