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

Fix adding metadata to metadata groups #4550

Merged
merged 2 commits into from
Aug 6, 2021

Conversation

solth
Copy link
Member

@solth solth commented Jul 20, 2021

Fixes #4464, fixes #4285

Edit: seems #4465 and #4457 aren't fixed after all

@solth solth requested a review from matthias-ronge July 20, 2021 08:46
@solth solth requested a review from Kathrin-Huber July 22, 2021 07:50
@Kathrin-Huber
Copy link
Contributor

Kathrin-Huber commented Aug 3, 2021

Issue #4457
doubleMetadata

@Kathrin-Huber
Copy link
Contributor

Kathrin-Huber commented Aug 3, 2021

Issue #4465

lostKeys

Copy link
Collaborator

@matthias-ronge matthias-ronge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The right metadata appears to be available for selection at first. Adding also works. But I always have to click two times before the pop-up to open (the fundamental problem that we sometimes have in the metadata editor).

Another problem is, but I don't know whether this is related or a completely different problem, I just noticed: Whenever I click the delete metadata button, I first have to click away a Firefox warning whether I want to leave the page (no) and then again, then it usually works (but not always, and one time I got a warning for a validation error). But it can also be that this is a completely independent problem or it is due to my ruleset, maybe, I can't say that. I haven't been using the button for a long while.

@matthias-ronge
Copy link
Collaborator

Animation

@solth
Copy link
Member Author

solth commented Aug 6, 2021

The right metadata appears to be available for selection at first. Adding also works. But I always have to click two times before the pop-up to open (the fundamental problem that we sometimes have in the metadata editor).

Yes, this has to do with the update being triggered by the javascript blur events (documented in #3821)

Another problem is, but I don't know whether this is related or a completely different problem, I just noticed: Whenever I click the delete metadata button, I first have to click away a Firefox warning whether I want to leave the page (no) and then again, then it usually works (but not always, and one time I got a warning for a validation error). But it can also be that this is a completely independent problem or it is due to my ruleset, maybe, I can't say that. I haven't been using the button for a long while.

That is a different problem and occurs in the master branch, too.

@solth
Copy link
Member Author

solth commented Aug 6, 2021

Issue #4457

I think #4457 is about MetadataGroup children being unintentionally duplicated. Your screencast shows MetadataGroups directly assigned to a structural element being duplicated by accident. Looks like a similar problem, but not exactly what was described in the issue, IMO.

@Kathrin-Huber Kathrin-Huber merged commit b8e127e into kitodo:master Aug 6, 2021
@solth solth deleted the add-metadata-fix branch August 6, 2021 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants