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

Rename and move file throws file not found exception #4307

Closed
1 task done
tobiasdiez opened this issue Aug 31, 2018 · 0 comments
Closed
1 task done

Rename and move file throws file not found exception #4307

tobiasdiez opened this issue Aug 31, 2018 · 0 comments
Labels
bug Confirmed bugs or reports that are very likely to be bugs entry-editor good first issue An issue intended for project-newcomers. Varies in difficulty.

Comments

@tobiasdiez
Copy link
Member

JabRef version on

Steps to reproduce:

  1. Open entry editor, general tab for an entry with linked file (which is not in the default file directory and not named correctly)
  2. Right-click file > "Rename and move"
  3. After the file is renamed, JabRef complaints that it cannot find the file (and thus it is not moved into the correct folder).

Probably, JabRef still thinks the file has its old name although it was just renamed.

Log File
Paste an excerpt of your log file here
@tobiasdiez tobiasdiez added bug Confirmed bugs or reports that are very likely to be bugs entry-editor good first issue An issue intended for project-newcomers. Varies in difficulty. labels Aug 31, 2018
tobiasdiez added a commit that referenced this issue Sep 4, 2018
Fixes #4307. Moreover, I refactored a bit how files are renamed/moved to the default file directory. This should make it easier to reuse the code.
tobiasdiez added a commit that referenced this issue Sep 11, 2018
* Fix that "Rename and move file" throws file not found exception

Fixes #4307. Moreover, I refactored a bit how files are renamed/moved to the default file directory. This should make it easier to reuse the code.

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs entry-editor good first issue An issue intended for project-newcomers. Varies in difficulty.
Projects
Archived in project
Development

No branches or pull requests

1 participant