Skip to content

Copying entry to another library does not copy linked file(s) #10042

@bilderbuchi

Description

@bilderbuchi

JabRef version

5.9 (latest release)

Operating system

Windows

Details on version and operating system

No response

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

I am trying to set up a library shared with colleagues (postgresql database), in addition to a local one (biblatex) with my own entries.

As far as I could find out, the only way to share linked files, too, is to set up a collectively accessible location (e.g. a network share). Initially, I expected that linked files would be added to the database -- please tell me if this is possible/I am wrong!

Both libraries work correctly, e.g. I can add and edit entries on the shared one, and add linked files manually.
The local one has a general file directory entry .\my_pdf_storage (relative to the bib file).
The shared library has a general file directory entry \\someserver\network\accessible\folder, and added files appear there.

Now, I want to copy some (many, in fact) entries---including attached files!---from my personal library to the shared one.

  1. Drag and drop entry from local library tab to shared one. (or copy/paste, does not make a difference)
  2. Entry is created as expected (except for group if not existing, I think this is another issue)
  3. However, the General-File field reflects the structure of the source lib, and so the file is lost/inaccessible!

Expected behaviour

I would have expected that upon drag-drop to another library, that

  1. Any linked files are looked up based on source library directory settings + file path
  2. Linked files are copied to the new library and
  3. stored according to destination library directory settings + file path (Files are copied, not moved, otherwise they would be gone from the source library)

(I was not sure if this should be working but is broken (bug) or something that would be an enhancement, so sorry if this is misfiled)

Metadata

Metadata

Assignees

Labels

Projects

Status

In Progress

Status

In Progress

Status

Normal priority

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions