Skip to content

Creating or editing a group of cited entries triggers "Library has been modified by another program." whenever saving the library subsequently #6420

Closed
@systemoperator

Description

Tested with the latest JabRef development version (master branch) on Ubuntu 16.04

Steps to reproduce the behavior (creating group):

  1. Save current library (only needed, if the library is indicated as modified)
  2. Create a group of cited entries with an attached *.aux file
    • Side note: even without attaching an existing *.aux file and leaving this field empty allows reproducing it as well
  3. The library has been modified, indicated by the star character (*) in the tab of the main table
  4. Save library

Observation:

After saving the library, the message "Library has been modified by another program." shows up, asking either to choose "Dismiss changes" or "Review changes". When such a group has been created (or updated), then this message appears whenever the library is changed and gets saved.

Steps to reproduce the behavior (editing group):

After restarting JabRef and opening the previously opened library the aforementioned issue does not arise until one does the following (or one repeats the steps above):

  1. Save current library (only needed, if the library is indicated as modified)
  2. Edit an existing group of cited entries
  3. Click "OK" to save the changes in the dialog for editing an existing group of cited entries (no changes need to be made in the dialog)
  4. A dialog appears, asking "Assign the original group's entries to this group?"
    4.1. Either click "Cancel" or "OK" (it does not matter)
  5. The library has been modified, indicated by the star character (*) in the tab of the main table
  6. Save library

Observation:

After saving the library, the same issue as described above arises.

Remark:

As stated in #6394, groups of cited entries also have another issue.

Removal of issue:

  1. Delete the group of cited entries or change the group type to something different than "Cited entries".

Observation:

The issue vanishes.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions