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

Save mapping file order for import configurations #5232

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

solth
Copy link
Member

@solth solth commented Jul 8, 2022

Fixes #5229

Note @BartChris : since the order of mapping files in import configurations wasn't saved explicitly to the database yet, I had to initialize the new sorting column statically with 0. This means that for import configurations with multiple mapping files that you created before this pull request, you need to edit the configuration again and re-assign the mapping files in the correct order. Then they will be saved correctly to the database.

@solth solth requested a review from henning-gerhardt July 8, 2022 11:20
Copy link
Collaborator

@henning-gerhardt henning-gerhardt left a comment

Choose a reason for hiding this comment

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

Sounds good but I have no such configuration in use so maybe @BartChris can verifiy this too as @BartChris has such a configuration scenario.

@BartChris
Copy link
Collaborator

I applied your changes and i can confirm that they are working.

@solth solth requested a review from henning-gerhardt July 12, 2022 11:03
@henning-gerhardt
Copy link
Collaborator

@solth : I did already a review (which was good) and suggested to review this changes by BartChris. Why should I now review this pull request again as no changes was made since my last review?

@solth
Copy link
Member Author

solth commented Jul 12, 2022

Why should I now review this pull request again as no changes was made since my last review?

Because you didn't approve the pull request in your first review and @BartChris indeed confirmed that the changes work as intended.

@Kathrin-Huber Kathrin-Huber merged commit 27b17fa into kitodo:master Jul 14, 2022
@solth solth deleted the mapping-file-order branch July 14, 2022 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Order of mapping files in import configuration is not saved
4 participants