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

charter display can fail when logged in a user #1207

Open
GVogeler opened this issue Feb 14, 2025 · 1 comment
Open

charter display can fail when logged in a user #1207

GVogeler opened this issue Feb 14, 2025 · 1 comment

Comments

@GVogeler
Copy link
Collaborator

https://www.monasterium.net/mom/CZ-NA/AZK%7CKoruna/1526_II_21/charter and other charters from the Prague National Archives create an XRX error, when logged in as user ([email protected] (moderator):

In function: local:eval(element()) [293:5:/db/XRX.live/mom/app/xrx/main.xql] local:mode-mainwidget() [424:13:/db/XRX.live/mom/app/xrx/main.xql] local:main()). 

When not logged in and on other archives, the error does not occur. Maybe a problem with the urlendocing of the atom:id (containing a pipe: |)?

@GVogeler GVogeler added this to the Single Charter View milestone Feb 14, 2025
@NTsch
Copy link
Collaborator

NTsch commented Feb 18, 2025

Pipe creates an issue on Java-level: java.net.URISyntaxException: Illegal character in path at index 31: /rest/db/XRX.live/mom/CZ-NA/AZK|Koruna/1526_II_21/charter
Easiest solution seems to simply be to remove the pipes from the data, and not import data with pipes in name/atom-id. I've now done this for CZ-NA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants