jabref icon indicating copy to clipboard operation
jabref copied to clipboard

`changed` should be true at withers at BibEntry

Open koppor opened this issue 3 weeks ago • 4 comments

Example:

            BibEntry fallBack = new BibEntry(StandardEntryType.Misc)
                    .withField(StandardField.COMMENT, data);

When this BibEntry is written, the string is empty. This is because of our optimization.

Fix:

  • Default value of changed is true
  • org.jabref.model.entry.BibEntry#withXYZ does not update changed (exception withChanged)
  • Adapt all tests - especially the reading and writing tests

koppor avatar Dec 05 '25 01:12 koppor

/assign-me

Nidipfmehta avatar Dec 06 '25 11:12 Nidipfmehta

⚠️ Issue Already Assigned

Hi @Nidipfmehta, this issue is currently assigned to @koppor.

[!NOTE] If no progress is made within 21 days, the issue will be automatically unassigned.

Options for contributors
  • Wait for availability: The issue may become available if auto-unassigned
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate

jabref-machine avatar Dec 06 '25 11:12 jabref-machine

/assign-me

D-Prasanth-Kumar avatar Dec 11 '25 13:12 D-Prasanth-Kumar

⚠️ Issue Already Assigned

Hi @D-Prasanth-Kumar, this issue is currently assigned to @koppor.

[!NOTE] This issue is pinned and will not be automatically unassigned.

Options for contributors
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate
  • Wait for completion: The issue will remain assigned until the work is complete

jabref-machine avatar Dec 11 '25 13:12 jabref-machine