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 for #5369 - fallback to 0 in case stored preview cycle pos does no longer exist #5382

Merged
merged 1 commit into from
Oct 3, 2019

Conversation

matthiasgeiger
Copy link
Member

Fix for #5369

problem should in theory not happen as always a correct size should be stored - however, if for example CSL styles are not loaded properly the mentioned exception in #5369 might occur.

To prevent this upon creating the preview prefs now the stored cycle position is now compared to the actual list of previews before being set.


  • Change in CHANGELOG.md described - I think as this is not a common problem can be omitted?
  • [ ] Tests created for changes
  • Manually tested changed features in running JabRef
  • [ ] Screenshots added in PR description (for bigger UI changes)
  • Ensured that the git commit message is a good one
  • [ ] Check documentation status (Issue created for outdated help page at help.jabref.org?)

@matthiasgeiger matthiasgeiger added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Oct 3, 2019
Copy link
Member

@tobiasdiez tobiasdiez left a comment

Choose a reason for hiding this comment

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

LGTM!

@Siedlerchr Siedlerchr merged commit 79f9c86 into master Oct 3, 2019
@Siedlerchr Siedlerchr deleted the fix-5369 branch October 3, 2019 13:18
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.

3 participants