-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
No able to open a file once the folder value is invalid #10548
Comments
Thanks for the report. There needs to be a check the file/folder is still existing. https://docs.jabref.org/advanced/commandline#reset-preferences-d-key |
I think this methods which is called in OpenDatabaseAction must check if the directories exist and as fallback should return the user home directory jabref/src/main/java/org/jabref/gui/importer/actions/OpenDatabaseAction.java Lines 113 to 123 in a0e2564
|
Hi @Siedlerchr ..I would like to work on this issue. |
As a general advice for newcomers: check out Contributing for a start. Also, guidelines for setting up a local workspace is worth having a look at. Feel free to ask here at GitHub, if you have any issue related questions. If you have questions about how to setup your workspace use JabRef's Gitter chat. Try to open a (draft) pull-request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback. |
@devanshim2207 We did not see any activity the last 8 weeks, therefore I unassigned you. |
@Siedlerchr I would like to have a go at this issue if it's available. |
Hi, I am a student at the Australian National University. For one of our assignments, we are tasked with working in a group to contribute to an open-source project - and I would like to be assigned to this issue. While working, our group will cross-review our code and help each other out to have the most efficient progress. Thanks so much! |
I assigned @Boston54. |
* Caught an error when accessing an invalid path. fixes #10548 * Fixed typo in issue num * Moved changelog entry to unreleased section * Moved try-catch and added tests * Fix checkstyle * Fix checkstyle again * Fix checkstyle fr this time * Discard changes to external-libraries.md * Result of "rewriteRun" * Add link to issue * Use VisibleForTesting annotation * Remove Jimfs depdencency --------- Co-authored-by: Tom Martin <u7656592@anu.edu.au> Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
JabRef version
5.11 (latest release)
Operating system
macOS
Details on version and operating system
14.0 Sonoma
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
This problem is old and already solved (#2522) but on a failed mounted directory (with ssh) in the lastest JabRef version the problem exists (at least in MacOs).
Find attached details of the error.
The partial solution is to force the unmounting (of the directory). Only then JabRef works properly and let me open the 'open file' window.
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: