XML Parsing Error : duplicate attribute
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
A user recently submitted a bug report which is exactly the same behaviour as reported in issue #8116.
He seems to be the only user currently affected.
What steps does it take to reproduce the issue?
-
When does this issue occur?
At dataset creation : the user starts filling the fields normally, clicks on save. -
What happens?
The following message is displayed :
XML Parsing Error: duplicate attribute
Location: https://dorel.univ-lorraine.fr/dataset.xhtml?persistentId=doi%3A10.12763%2F5TZTE9&version=DRAFT
Line Number 955, Column 342:
The dataset could not be created. If you believe this is an error, please contact <a id="messages:j_idt156:j_idt161" href="#" class="ui-commandlink ui-widget" onclick="clickSupportLink();;PrimeFaces.ab({s:"messages:j_idt156:j_idt161",f:"messages:j_idt156",fi:"messagePanel"});return false;" onclick="clickSupportLink();" onclick="clickSupportLink();">L'équipe support DOREL</a> for assistance.<input type="hidden" name="javax.faces.ViewState" id="j_id1:javax.faces.ViewState:4" value="1273334235578213818:-1899972390304135016" autocomplete="off" />
- To whom does it occur (all users, curators, superusers)?
Our user is currently contributor.
Which version of Dataverse are you using?
5.10
Any related open or closed issues to this bug report?
Yes, #8116
Screenshots:
No screenshot, but the screenshot displayed in #8116 is exactly what appears on the user's screen.
I'm attaching a log excerpt from the moment when the dataset was created.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue #8116, which is reported as the same behavior, then reproduce dataset creation with a contributor account using the steps here. Inspect the attached log excerpt alongside the generated response; done means dataset creation no longer produces the duplicate-attribute XML parsing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100