koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 15 forks source link

Properly Copy Associated PDFs Between .bib Files #700

Closed rioxddd closed 3 weeks ago

rioxddd commented 4 weeks ago

Describe the changes you have made here: what, why, ... This pull request fixes the issue where associated PDF files were not being copied when entries were moved from one .bib file to another. Now, when copying entries, the linked PDFs are also transferred to the correct folder for the target .bib file.

Changes Made: Updated copyEntry() to store the source .bib file context. Modified pasteEntry() to copy linked PDFs to the target .bib file's directory.

Link the issue that will be closed: (https://github.com/koppor/jabref/issues/520)

Mandatory checks

koppor commented 4 weeks ago

@rioxddd Do you need a review by a teammate here in this repository? If not, please submit a pull request to https://github.com/JabRef/jabref/pulls - because only PRs there go into the release.