-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
[outdated] type: bugConfirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugscomponent: preferences
Description
Current dev version
- Go to Preferences -> Entry Preview
- Search American Psychological Association...
- Move the style to the right
- Select it or move it up to the top
- Save preferences:
- Exception occurs
The problem is that the maximum allowed value for the Preferences Value is:
8192 characters (MAX_VALUE_LENGTH)
Solution: I think the solution would be to store the name of the style
20:45:28.751 [JavaFX Application Thread] ERROR org.jabref.FallbackExceptionHandler - Uncaught exception occurred in Thread[JavaFX Application Thread,5,main]
java.lang.IllegalArgumentException: Value too long: <?xml version="1.0" encoding="utf-8"?> (omitted here)
at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java:253) ~[?:?]
at org.jabref.preferences.JabRefPreferences.put(JabRefPreferences.java:937) ~[main/:?]
at org.jabref.preferences.JabRefPreferences.storePreviewPreferences(JabRefPreferences.java:1441) ~[main/:?]
at org.jabref.gui.preferences.PreviewTabViewModel.storeSettings(PreviewTabViewModel.java:203) ~[main/:?]
at org.jabref.gui.preferences.AbstractPreferenceTabView.storeSettings(AbstractPreferenceTabView.java:30) ~[main/:?]
Metadata
Metadata
Assignees
Labels
[outdated] type: bugConfirmed bugs or reports that are very likely to be bugsConfirmed bugs or reports that are very likely to be bugscomponent: preferences
Type
Projects
Status
Done