Skip to content
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

Dropping a file into the file field does not shorten the path #178

Closed
koppor opened this issue Oct 28, 2016 · 1 comment
Closed

Dropping a file into the file field does not shorten the path #178

koppor opened this issue Oct 28, 2016 · 1 comment
Labels

Comments

@koppor
Copy link
Member

koppor commented Oct 28, 2016

Setting: General file directory (of the database): C:\Users\Oliver\BTSync\lit

Result after dropping a file: file = {:C\:\\Users\\koppor\\BTSync\\lit\\IoT\\MA_Guth_JA.pdf:PDF},
Expected: file = {:IoT\\MA_Guth_JA.pdf:PDF},, because C\:\\Users\\koppor\\BTSync is the prefix of the filename.

I think, this worked in JabRef 2.11... Think, FileUtils is the class to look at. See also https://github.com/JabRef/jabref/wiki/Code-Howtos#get-absolute-filename-or-path

@koppor koppor added the bug day label Oct 28, 2016
@Siedlerchr
Copy link
Member

Should work with the changes I introduced in JabRef#2415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants