sul-dlss / exhibits

Stanford University Libraries online exhibits showcase
https://exhibits.stanford.edu
Other
19 stars 7 forks source link

Unable to change Browse category label in Rare Music exhibit #2584

Open caaster opened 5 hours ago

caaster commented 5 hours ago

This problem described below is somehow ringing a long-ago bell. I think there is a technical reason why this is happening, but I can't recall the specifics.

The exhibit curator made a labeling error when they created the Browse category called "Image" for https://exhibits.stanford.edu/rare-music. They meant to label the Browse category as "Images." However, when they try to edit the Browse category label from Image to Images the following error is thrown:

Screen Shot 2024-09-27 at 10 29 57 AM

Is it possible to change this Browse category label, and if so, can an exhibit curator do so?

corylown commented 3 hours ago

@caaster there is a list of reserved terms that cannot be used to name browse categories because they could conflict with other named URL paths in the application. images is one of those words. The list of reserved terms is:

That error message is cryptic and if you think it would be helpful we could look into displaying something more clear.

caaster commented 3 hours ago

@corylown Yes, that message reads as nonsensical to me. So it would be quite helpful to display something more clear. Let me know if we should loop Alan in here?

corylown commented 2 hours ago

@caaster how about something like:

The title "images" is reserved and cannot be used. Please choose a different title.

Screenshot 2024-09-27 at 4 36 03 PM
caaster commented 2 hours ago

@corylown perfect. Thank you.