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

Error message about manually-entered authority URI preventing conversion #177

Open
NancyL opened this issue Jan 18, 2022 · 2 comments
Open
Labels
bug Something isn't working

Comments

@NancyL
Copy link

NancyL commented Jan 18, 2022

Type of change
Defect?

Example RDF records
Please provide URIs or RDF of the bf:Instance. If providing RDF, Turtle is preferred.

https://api.stage.sinopia.io/resource/ec2057de-dbed-4407-af3a-ad71445e380e

Resource template
Which resource template does this apply to? In which Sinopia environment (development, stage, production)?

Stanford:bf2:Monograph:Instance/Stanford:bf2:Monograph:Work

The primary contribution (bf:contribution/bflc:PrimaryContribution) was entered as a manual URI + label (using "Enter your own URI and label) since it was a newly created authority record and not yet in LC's database or in id.loc.gov or in the QA lookup. It received this error message:

image

This should convert to MARC, though admittedly the label will be imperfect if a date is involved. But this one should look like this:

100 1# $a Storopoli, Jose $e Author $0 http://id.loc.gov/authorities/names/no2022005382

@NancyL NancyL added the mapping label Jan 18, 2022
@NancyL NancyL changed the title Error message about hand-entered authority URI preventing conversion Error message about manually authority URI preventing conversion Jan 18, 2022
@NancyL NancyL changed the title Error message about manually authority URI preventing conversion Error message about manually-entered authority URI preventing conversion Jan 18, 2022
@NancyL NancyL added bug Something isn't working and removed mapping labels Jan 18, 2022
@NancyL
Copy link
Author

NancyL commented Jan 18, 2022

I will add that the template has been changed slightly since this was first reported and the name & URI had to be re-entered. The problem, however, is unchanged. It still reports an error and prevents conversion.

@justinlittman
Copy link
Contributor

Yes, the code does not handle the case when there is a resolvable URI (e.g., from id.loc.gov), but that URI does not yet resolve (results in 404).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants