Skip to content

If entry data is changed, file name should also be changed #11316

Open
@koppor

Description

@koppor
  • An entry has a file attached
  • The filename matches "rename to the defined pattern" (meaning auto generated file name; configured in Preferences -> Linked files -> Linked file name conventions)
  • I change the data also changing the name generated the defined pattern
  • JabRef should rename the file, too

Tasks:

  1. Add a preference Linked files -> Linked file name conventions -> [ ] Auto rename files if entry changes (false as default)
  2. Write test cases
  3. Listen to entry change events and check preference and rename file (if preference allows and file name matches)
    Note that an empty pattern should not result in any action (because the file name does not match)

Important: Also consider the case that the entry has multiple files attached.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions