Closed PJNorrisS1 closed 1 year ago
UPDATE: Able to recreate this. From a fresh database of a working model, I just deleted a flag, and the glitch came up
This would seem to occur if you delete a flag that is being used to lock another flag. You think we should we remove the lock automatically or return a fail until the lock is resolved?
Return a fail until the lock is resolved is my vote, as long as there is a notification clearly states, unable to delete, dependent on a lock or something.
Do you have an ETA when this will be fixed? Thank you!
I pushed up a fix for this.. let me know if it doesn't resolve the issue and we can reopen.
Just thought that I need to add some code when you delete a box that has flag locks within the box. Will update soon.
One of our admins was doing some work on one of the boxes yesterday. He can log in as admin, but when editing a flag, this comes up:![image](https://github.com/moloch--/RootTheBox/assets/106666319/eb28832b-dd66-4210-b1de-b052bebefb64)
The URL is /admin/view/game_objects
Restarted container, not fix. Restore the XML file from previous export.
And from the console we see this: