samvera-deprecated / sufia

[DEPRECATED] Sufia: a fully featured, flexible Samvera repository front-end.
http://sufia.io/
Other
111 stars 78 forks source link

Stop using asynchronous requests on the edit form #3147

Closed jcoyne closed 7 years ago

jcoyne commented 7 years ago

These requests caused the lock to be lost, so the page couldn't be saved (#3127). Completely removed the "Add parent relationships" section as this was not locking the parent. It was unclear how we should simultaneously update multiple objects and what should happen if the lock for one of them was stale.

This should also fix #3133 as we are no longer passing the ordered_member_ids as an attribute to the work actor for update. Instead we are using a custom attribute and only making adds and deletions instead of rewriting the whole set.

Fixes #3133 Fixes #3127