From 96b2b59cefaa1fb61b15ba730a7284c32db2841a Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Sat, 26 Mar 2022 16:19:06 +0100 Subject: [PATCH 1/2] Fix protectedTerms not stored due to weaklistener Fixes #8608 --- .../logic/protectedterms/ProtectedTermsPreferences.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/jabref/logic/protectedterms/ProtectedTermsPreferences.java b/src/main/java/org/jabref/logic/protectedterms/ProtectedTermsPreferences.java index b15fee9b9ed..0efc19a524c 100644 --- a/src/main/java/org/jabref/logic/protectedterms/ProtectedTermsPreferences.java +++ b/src/main/java/org/jabref/logic/protectedterms/ProtectedTermsPreferences.java @@ -23,19 +23,19 @@ public ProtectedTermsPreferences(List enabledInternalTermLists, } public ObservableList getEnabledInternalTermLists() { - return FXCollections.unmodifiableObservableList(enabledInternalTermLists); + return enabledInternalTermLists; } public ObservableList getEnabledExternalTermLists() { - return FXCollections.unmodifiableObservableList(enabledExternalTermLists); + return enabledExternalTermLists; } public ObservableList getDisabledInternalTermLists() { - return FXCollections.unmodifiableObservableList(disabledInternalTermLists); + return disabledInternalTermLists; } public ObservableList getDisabledExternalTermLists() { - return FXCollections.unmodifiableObservableList(disabledExternalTermLists); + return disabledExternalTermLists; } public void setEnabledInternalTermLists(List list) { From a03d7fd7f9be986169faf8c57d72c224b3912ced Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Sat, 26 Mar 2022 16:19:43 +0100 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 645797bfd79..244584c070f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve ### Fixed +- We fixed an issue where custom "Protected terms" files were missing after a restart of JabRef [#8608](https://github.com/JabRef/jabref/issues/8608) - We fixed an issue where JabRef could not start due to a missing directory for the fulltex index [#8579](https://github.com/JabRef/jabref/issues/8579) - We fixed an issue where long article numbers in the `pages` field would cause an exception and preventing the citation style to display [#8381](https://github.com/JabRef/jabref/issues/8381), [citeproc-java](https://github.com/michel-kraemer/citeproc-java/issues/114) - We fixed an issue where online links in the file field were not detected correctly and could produce an exception [#8150](https://github.com/JabRef/jabref/issues/8510)