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 "Changing owner name crashes the application" #10932

Merged
merged 3 commits into from
Feb 28, 2024
Merged

Fix "Changing owner name crashes the application" #10932

merged 3 commits into from
Feb 28, 2024

Conversation

koppor
Copy link
Member

@koppor koppor commented Feb 27, 2024

Fixes #10924

At #9910 I did not properly use our subscription system.

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

internalPreferences = null;

// this propagates down to filePreferences
getInternalPreferences().getUserAndHostProperty().setValue(newValue);
Copy link
Member

Choose a reason for hiding this comment

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

I wonder why this property is both in the owner preferences and the internal prefs. This looks like it should be only in one place

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

github-actions bot commented Feb 27, 2024

The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build.

@Siedlerchr
Copy link
Member

As a quick fix okay, but we should really merge the preferences

@koppor koppor enabled auto-merge February 28, 2024 15:59
@koppor koppor added this pull request to the merge queue Feb 28, 2024
Merged via the queue into main with commit 16a526f Feb 28, 2024
21 checks passed
@koppor koppor deleted the fix-10924 branch February 28, 2024 16:34
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.

Changing owner name crashes the application
2 participants