sul-dlss / dlme

Digital Library of the Middle East web application, based on Spotlight
https://dlmenetwork.org/
Other
19 stars 2 forks source link

Unable to remove exhibit tag from item #1752

Open jacobthill opened 1 year ago

jacobthill commented 1 year ago

https://dlme-stage.stanford.edu/library/catalog/81055%2Fvdc_100000000193.0x0000bd_dlme

I can remove exhibit tags from some items but when I try to remove the exhibit tab from the item linked above and 'save changes' it rejects the changes.

Screen Shot 2023-03-10 at 10 33 38 AM
jcoyne commented 1 year ago
Screenshot 2023-03-10 at 9 51 02 AM Screenshot 2023-03-10 at 9 52 00 AM
jcoyne commented 1 year ago

@jacobthill is this different from what you see in dlmenetwork.org/ ?

jacobthill commented 1 year ago

I can't say for sure since that record is not in dlmenetwork.org but I haven't had this issue before with any other record.

jcoyne commented 1 year ago

This seems to be related to ids that have a slash in them as I was able to add and remove a tag from https://dlme-stage.stanford.edu/library/catalog/p15795coll32:53859 with no problem

jacobthill commented 1 year ago

I thought about that but then I saw that the record was now loading so I assumed it was fixed.

jcoyne commented 1 year ago

This seems to be cause by ActionController::InvalidAuthenticityToken (Can't verify CSRF token authenticity.)

hudajkhan commented 1 year ago

FYI, I tried downloading the Solr info for this record to a local instance. I tried adding and removing exhibit tags multiple times and that worked. (Just an extra check.)