-
Notifications
You must be signed in to change notification settings - Fork 15
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
File storage fails silently when setting a non-exitent file directory #109
Comments
Well, I also like to enter the path manually, so let's keep that. So that means we should display a proper error message in the UI! |
Error message when saving the preferences? |
👍 for both cases. |
Related: JabRef#1949 |
PR was merged and related issue is closed so I think this can be closed, too. |
@boceckts You are correct. To be on the safe side, I just tested it on master and the error message appears as desired. |
When I set the "Main file directory" (Preferences->External Programs->Main file directory) to a directory that does not exist, then file download fails silently.
I can trigger the dowload, choose to save the file and everything looks fine in the UI, but no entry appears in the file field. Looking at the console, the following stack trace appears:
Perhaps we should change the preference setting in the UI. Currently, it is a text field and the user can enter arbitrary text instead of using the FileChooser. If we set it to a Label instead, the user has to select the directory via the FileChooser. Additionally, there should be some error message to the user if the storage of the file fails.
The text was updated successfully, but these errors were encountered: