-
Notifications
You must be signed in to change notification settings - Fork 491
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
Bug: Current Dataset Version Update failed #9889
Comments
Did the CSV or XLSX file fail ingestion? |
We have turned off tabular file ingestion due to previous challenges. |
We've been having the same issue (in 5.14 on pilot). And further tested it and had it happen for multiple datasets, so it appears to not be dependent on a specific file or dataset. Or at least that's way it seems, even when the errors imply otherwise. |
Thanks, @kcondon The error message we got was slightly different. It said
See above. |
I see, @philippconzett , thanks. Does the stale read scenario provide a plausible explanation in your case, whether from multiple tabs, browsers, or people editing? A workaround if it is a stale read would be to refresh the draft page view from which you want to publish, if we do not yet know all situations in which this could occur. |
Can you try refreshing that Dataset draft view and publish without incrementing version? Just making sure that isn't the issue. OK, will ask Dev for more info. Not sure what that removed entity is or how it is detected that it was removed unless it was not completely removed? Ok, seems like a bug if not the same as the stale read. Someone from Development needs to investigate to learn more. |
Thanks, the error message is from trying to publish without incrementing version. Publishing with incrementing version works. |
On our Dataverse installation in Stuttgart (version 5.12.1) we have the same problem:
As @philippconzett we only did small changes in the citation metadata (description and related publication) prior to try to publish without incrementing version. No change on any file metadata (mentioned in the error message). However, we had a prior version of the dataset that changed files: our Version tab looks like this: Maybe Dataverse compares metadata of a file that did not exists in the very first version of the dataset? |
We have a similar problem on several datasets (15) on our installation dataverse‧cirad‧fr (version 5.2). We only did a minor change in the citation metadata (Kind of Data). I haven't found any similar points that would block publication without incrementing version. In our case, versioning doesn't seem to be the issue (some datasets have only one version, others have several) |
What steps does it take to reproduce the issue?
After making two minor changes in the Related Publication fields Identifier and URL, I tried to update the current version of this TROLLing dataset: https://doi.org/10.18710/XKDBLF, with the superuser option "Update Current Version (will permanently overwrite the latest published version)", but got the following error message:
Error – Dataset Version Update failed. Changes are still in the DRAFT version. - edu.harvard.iq.dataverse.engine.command.exception.CommandException: Command edu.harvard.iq.dataverse.engine.command.impl.CuratePublishedDatasetVersionCommand@33eaee58 failed: Cannot merge an Entity that has been removed: edu.harvard.iq.dvn.core.study.FileMetadata[id=209002] If you believe this is an error, please contact DataverseNO Support for assistance.
Which page(s) does it occurs on?
On the dataset landing page of this TROLLing dataset: https://doi.org/10.18710/XKDBLF.
What happens?
I get the error message pasted above.
To whom does it occur (all users, curators, superusers)?
Superusers.
What did you expect to happen?
The dataset to be updated without there being issued a new version.
Which version of Dataverse are you using?
5.13
Any related open or closed issues to this bug report?
No, but the issue was discussed in the Dataverse Google Group (https://groups.google.com/u/1/g/dataverse-community/c/6smbEFyq_Ok), and it turns out to be a bug in the Dataverse software.
The text was updated successfully, but these errors were encountered: