-
-
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
Main file directory is used if not empty, even if deactivated #9556
Comments
Hi, the error message says it searches for files in your documents folder. C:\Users\Michael\Documents and cannot access the pictures folder. |
In the library settings the directories are correctly set to my library folder of the project and my LaTeX project folder. So it seems like JabRef is searching the main file directory although the option is not activated, which seems to be an unexpected behavior. PS: When I check the "Main file directory", delete the path and check back the "Search and store files relative to library file location" option the "Automatically set file links" function works again with v. 5.9. |
Yes, this seems odd. Can you try to set the main file directory to empty? Does it work then? |
Yes, that's what I've meant in my previous post. |
Okay, thanks for the clarification. Tagged this as bug. |
Hi I would like to contribute to this issue can you let me know how I can go about this issue? |
Hello sreenath-tm, welcome back :-) One approach would be to find the regression window by finding the commit that broke it. By finding that exact commit, you will find the part of the code, which is of most relevance here. To open an older commit, you can use following command:
|
Sure @ThiloteE will take a look into these commits. |
@Siedlerchr @h4ppyM I am unable to reproduce this error can you just let me know that before clicking the "Automatically set file links" is there any thing specific entry that I should make. I have ensured that options in the preference is as specified by @h4ppyM . |
In my case, the path was set to my PC's picture folder (C:\Users\Michael\Documents\Eigene Bilder), but greyed out as the option was not selected. |
@h4ppyM extremely sorry for disturbing but I am unable to mimic the exact behaviour ,so can you let me know how you are importing the file into jabref. |
Hello sir , |
Please feel free to take up this issue @itsarraj .You can go through the documentation https://devdocs.jabref.org/contributing and do the setup for jabref and then try reproducing the issue. |
The main challenge of this is issue to create JUnit tests to express the desired behavior. |
Didn't we just fix this? |
@h4ppyM can you please test the latest development version? As far as I know we fixed some issues related to that https://builds.jabref.org/main/ |
JabRef version
5.9 (latest release)
Operating system
Windows
Details on version and operating system
Windows 10 Pro 21H2
Checked with the latest development build
Steps to reproduce the behaviour
Since stable version 5.8 (and also with the new 5.10 build from 2023-01-11) I get the following error message displayed when using the function "Automatically set file links":
With stable version 5.7 this function works properly.
Appendix
Detail information:
The text was updated successfully, but these errors were encountered: