-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
was-seed viewer throws 500 when archived site URL isn't correct #1460
Comments
@edsu the purl for this item has https://swap.stanford.edu/was/20220831210052/https://wexarts.org/talks-more/tongues-untied as the archived URL. However, most archived urls that I've seen have a |
Yes, it currently is required for the viewer to work, since it appears to be keying off the |
@edsu It's unclear to me what the action should be for this ticket? Is this something that can be fixed in data validation in cocina-models? |
Expected behavior
When the PURL XML contains an archived website URL that isn't properly formatted then sul-embed should probably display something helpful about the problem?
Actual behavior
When the PURL XML contains an archived website URL that lacks a
*
it throws a 500 error:Steps to reproduce the behavior
Load up some PURL XML for a was-seed object containing a URL like this into the sandbox viewer:
Browser / Environment
Firefox/MacOS
See sul-dlss/was_robot_suite#279 for related work to prevent was-seed objects from getting published with incorrect URLs.
The text was updated successfully, but these errors were encountered: