-
Notifications
You must be signed in to change notification settings - Fork 64
Problem with reimport into metadata groups with empty fields #6473
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
Comments
@BartChris unless you have a fix for this problem available, I do not think it's feasible to include its solution in 3.8.2, which I do not want to postpone anymore than necessary and which is already long overdue. But since I don't see a final version of 3.9.x being released anytime soon, I think there is a real possibility of a release 3.8.3 happening, which should then include the fix for this problem. |
@solth As far as i can see the fix is to skip empty metadata fields which result in the comparison of the PR: #6495 Was there a specific reason why you included the empty fields when constructing the update dialog and do you see any problem with skipping the empty fields? |
@BartChris IIRC I included empty fields in order to maintain a comparable field table in the comparison view, so that it becomes more obvious which fields are empty at one side (for example in the local record) vs filled with a value remotely (in the OPAC record). For that reason the fields in a group would also normally be sorted by metadata key, so that corresponding fields are lined up: Line 501 in 84dd4df
Why the fields of the metadata groups in the screenshots you provided seem to be sorted differently I cannot say, that confuses me a little bit. |
Describe the bug
As outlined in
#6436 (comment) :
The reimport of metadata does currently not work correctly if metadata groups in the editor contain empty fields. In that case the same group from the catalogue is duplicated.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The reimport should also work for metadata groups with empty fields.
Possible fix
see: #6436 (comment)
Release
Kitodo 3.8.x, master
The text was updated successfully, but these errors were encountered: