IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 494 forks source link

Multiple listing for facets after editing the list #11044

Open qqmyers opened 3 days ago

qqmyers commented 3 days ago

What steps does it take to reproduce the issue? I was testing other things when I went to a collection's Edit/General Info form and added an additional facet, and then added another one. Looking at the list of existing facets in the form, I began to see doubles (and at QDR, even quadruples).

image

This appears to happen on beta.dataverse.org (JSF UI) but not demo.dataverse.org, so I'm guessing it is a problem introduced post v6.4. (My QDR test machine has code merged from develop just a couple days ago.

At QDR, I verified that duplicates are in the database, e.g. multiple entries in dataversefacet for the same datasetfieldtype_id and dataverse_id: image

I'm not sure what is happening with the display order.

Which version of Dataverse are you using? develop branch post 6.4

Any related open or closed issues to this bug report?

Screenshots:

No matter the issue, screenshots are always welcome.

To add a screenshot, please use one of the following formats and/or methods described here:

Are you thinking about creating a pull request for this issue? Help is always welcome, is this bug something you or your organization plan to fix?