simplajs / simpla

Open, modular, and serverless content management for a modern web
https://www.simplajs.org
MIT License
527 stars 36 forks source link

[v2] Remove fails with 500 errors and corrupts data intermittently #51

Closed madeleineostoja closed 7 years ago

madeleineostoja commented 7 years ago

Haven't pinned down an exact repro yet, but save() after remove() on an existing UID often fails with a 500 thrown from the new API.

There's something that triggers this for a particular UID, and once that UID is 'broken' it can't be removed...

madeleineostoja commented 7 years ago

UPDATE: Looks like if remove fails like this it also has the potential to break all successive API calls for the project, throwing 400s from the broken UIDs whenever you try to PUT something, even if it doesn't touch those UIDs.

madeleineostoja commented 7 years ago

Fixed on 2.0-preview branch