Skip to content
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

500 error from Fedora when fetching content with non-URL characters #185

Open
jcreel opened this issue Jul 13, 2022 · 0 comments
Open

500 error from Fedora when fetching content with non-URL characters #185

jcreel opened this issue Jul 13, 2022 · 0 comments
Labels

Comments

@jcreel
Copy link
Member

jcreel commented Jul 13, 2022

To reproduce, visit Cushing Collections on Pre:
https://library.tamu.edu/cap/rv/Pre-Production?context=bb%2F97%2Ff2%2F3e%2Fbb97f23e-803a-4bd6-8406-06802623554c

CAP will report the 500 error. Fedora reports, e.g., this:

2022-07-13 14:09:29.608 ERROR 1159 --- [io-9000-exec-37] o.s.boot.web.support.ErrorPageFilter : Forwarding to error page from request [/repository-view-context/FEDORA/2] due to exception [Illegal character in path at index 137: https://api-pre.library.tamu.edu/fcrepo
/rest/bb/97/f2/3e/bb97f23e-803a-4bd6-8406-06802623554c/londonmaps_public_domain-2020-04-17_objects[4]/fcr:metadata]

java.net.URISyntaxException: Illegal character in path at index 137: https://api-pre.library.tamu.edu/fcrepo/rest/bb/97/f2/3e/bb97f23e-803a-4bd6-8406-06802623554c/londonmaps_public_domain-2020-04-17_objects[4]/fcr:metadata
at java.net.URI$Parser.fail(URI.java:2848) ~[na:1.8.0_172]
at java.net.URI$Parser.checkChars(URI.java:3021) ~[na:1.8.0_172]
at java.net.URI$Parser.parseHierarchical(URI.java:3105) ~[na:1.8.0_172]
at java.net.URI$Parser.parse(URI.java:3053) ~[na:1.8.0_172]
at java.net.URI.(URI.java:588) ~[na:1.8.0_172]
at edu.tamu.cap.service.repositoryview.FedoraService.getRepositoryViewContext(FedoraService.java:139) ~[classes/:na]

@jcreel jcreel added the bug label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant