Open mshick opened 8 years ago
@gpbmike @snide et.all - I can confirm this bug. I've encountered this behavior in the past. If you can't get to it in short order and want to point me in the right direction I can try to get a PR submitted for your review.
@mshick - Your video is a 404.
@dkenzik updated link
Cross-posting this bug from the forums:
http://forums.webhook.com/t/bug-cannot-delete-single-relationship-from-content/849
Due to this bug I cannot use single-item relationships in the CMS, as they will not be truly modifiable by an end user. The work-around mentioned in that thread does work, but is not acceptable for a non-technical user.
I have a couple of relationship fields in a content type. They are set to "Only allow one searched item and no more." Every time I attempt to delete one of the relationships it is restored. No errors are reporting in the console, no edit locks exist, and the UI refreshes to appear that the relationship is gone, but upon a hard refresh it has returned. Here's the read out from my console:
You can see the update made to hero_book,
So everything seems to have registered properly.
It is also worth noting that if I allow more than one relationship in the field I can delete and empty out the relationships as normal / as you would expect.
Here is a screen recording, showing exactly what happens.
Big blocker on a current project, so hopefully this is an easy fix? Thanks!