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

hooked-in charters using local cei:date can lead to errors in ordering #1157

Open
NTsch opened this issue Jun 6, 2023 · 1 comment
Open

Comments

@NTsch
Copy link
Collaborator

NTsch commented Jun 6, 2023

There are quite a few cases of charters with a "hooked-in" version of the same charter that has a different/wrong date, for example:

main entry:
IlluminierteUrkunden/1365-01-99_Paris.cei.xml
<cei:dateRange from="13660199" to="13660199">1366-01-99 (nv. st.)</cei:dateRange>

hooked-in entry:
IlluminierteUrkundenFrankreich/1365-01-99_Paris.cei.xml
<cei:dateRange from="13650199" to="13650199">1365-01-99</cei:dateRange>

As a result, the two entries also appear in different spots in the sorted collection. A possible workaround would be to overwrite hooked-in entry dates with the main entry dates.

@NTsch NTsch self-assigned this Jun 6, 2023
@GVogeler
Copy link
Collaborator

GVogeler commented Jun 10, 2023

I see two options:

  1. sort by mixing hooked-in charters with original charters
  2. update cei:issued in hooked-in charters when the referenced charter is published.

First option is probably too expensive as is has to be decided on each single entry in the list, from which source the date has to be fetched. Second option would include an additional service to be triggered in the publication process. This has to be done in publication of a private collection and in publication of a single charter by the moderator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Illuminierte Urkunden
Awaiting triage
Development

No branches or pull requests

2 participants