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 save actions #9890

Merged
merged 4 commits into from
May 15, 2023
Merged

Fix save actions #9890

merged 4 commits into from
May 15, 2023

Conversation

koppor
Copy link
Member

@koppor koppor commented May 15, 2023

This fixes #9881.

While playing around, I found out that we had two major issues:

  1. The order of the save actions was not retained. They were sorted alphabetically by field. I think, as user, I want to have some logical order of the fields (and not JabRef reordering my things)
  2. The remove_unicode_formatter was not parsed. Never. Therefore, I took the liberty and adapted the name to the name of the class - and enabled its parsing.

As a result, no save actions are written if they are the default.

More info: The list of save actions was compared as list for checking if they are the default. Since that list was not ordered by field name (in #9126), it was always different.

Compulsory checks

@JabRef JabRef deleted a comment from github-actions bot May 15, 2023
@Siedlerchr Siedlerchr added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 15, 2023
@calixtus calixtus merged commit 7aa8052 into main May 15, 2023
@calixtus calixtus deleted the fix-9881 branch May 15, 2023 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unnecessary "Review Changes" checks
3 participants