-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ES seems to indicate authoritative edits are provisional #4725
Comments
Deletes a new resource if first attempt to save tile to it fails. re #4725
@chiatt Your fix works - mostly. I wouldnt normally think to test this, but I created a valid resource with a single tile. It indexed properly. Then I went back to edit mode and deleted that tile. The resource continues to exist, but is marked provisional in the ui. It seems like any time that a resource instance lacks tiles, it ought to cease to exist. The good news is that at least now i can get back into edit mode in these cases - which i could not do before. |
@chiatt and I talked. We think the ideal solution is this: |
@adamlodge @chiatt A slight riff on your proposed solution: when you alert the user with a message, present them with the option to delete the instance in the alert panel (instead of making them close the alert, open the manage menu, and select the delete resource option). |
Original ticket issue is resolved. I'm gonna close this and open a new one to address the tile-less resource bug |
I create a new tile (as the admin user) which was captured in the db as authoritative. I verified this by looking at the tile record in pgadmin to see that the tiledata column was populated, and not the provisionaledits column.
When the new resource is displayed in search, it is marked as provisional.
Further, the resource editor recognizes that it is authoritative, so there is no way to change its status.
The text was updated successfully, but these errors were encountered: