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

metadata xml error, & and message users see #7611

Closed
jmjamison opened this issue Feb 12, 2021 · 1 comment
Closed

metadata xml error, & and message users see #7611

jmjamison opened this issue Feb 12, 2021 · 1 comment

Comments

@jmjamison
Copy link
Contributor

This may relate to: #3328

When creating a dataset one of our researchers included an ampersand '&' in his description of the dataset, when he tried to publish failed with this message:
" Simulation results of ... could not be published due to a failure to register, or update the Global Identifier for the dataset or one of the files in it. Contact support if this continues to happen."

When I poked into the system.log I found:
Call to globalIdServiceBean.createIdentifier failed: edu.ucsb.nceas.ezid.EZIDException: bad request - datacite: metadata validation error: XML parse error: xmlParseEntityRef: no name, line 15, column 161 (line 15)|#]

Fixed the error, explained situation to the user. I'm going to add this to our documentation but I'm wondering if it is at all possible to have a more informative message.

@djbrooke
Copy link
Contributor

Hey @jmjamison - I think this is a duplicate of #3328. We spent some time working on it a little while ago and we thought we had a fix, but it wasn't sufficient. I'll close this and we'll take another look at #3328 when we can.

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