Skip to content

Accept changes should also update the entry editor #8901

@koppor

Description

@koppor

JabRef version

Latest development branch build (please note build date below)

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

  1. Create .bib file:

     @MastersThesis{,
       file     = {:paper.pdf:PDF},
       groups   = {groupOne},
       keywords = {def},
     }
    
     @InBook{,
       author   = {Author Test},
       comment  = {comment by oliver},
       groups   = {groupTwo},
       keywords = {abc},
     }
    
     @Book{Maindonald2010,
       author    = {Maindonald, J. H.},
       date      = {2010},
       title     = {Data analysis and graphics using R},
       isbn      = {9780521762939},
       publisher = {Cambridge University Press},
       subtitle  = {an example-based approach},
     }
    
     @Comment{jabref-meta: databaseType:biblatex;}
    
     @Comment{jabref-meta: fileDirectory-koppor-DESKTOP-KAK953S:c:\\temp;}
  2. Open test.bib in JabRef

  3. Double click on "InBook" to have the entry editor opened

  4. Change the bib file to in a text editor

     @MastersThesis{,
       file     = {:paper.pdf:PDF},
       groups   = {groupOne},
       keywords = {def},
     }
    
     @InBook{,
       author   = {Author Test and others},
       comment  = {comment by oliver},
       groups   = {groupTwo},
       keywords = {abc},
     }
    
     @Book{Maindonald2010,
       author    = {Maindonald, J. H.},
       date      = {2010},
       title     = {Data analysis and graphics using R},
       isbn      = {9780521762939},
       publisher = {Cambridge University Press},
       subtitle  = {an example-based approach},
     }
    
     @Comment{jabref-meta: databaseType:biblatex;}
    
     @Comment{jabref-meta: fileDirectory-koppor-DESKTOP-KAK953S:c:\\temp;}
  5. Save

  6. JabRef says "The library has been modified by another program"

  7. Click "Review changes"

  8. Select "Author Test and others"

  9. Select "Accept changes"

  10. Expected: Entry editor updates

Actual behavior: Entry editor does not update. After save, the external changes on the entry are lost

Appendix

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for bug.

    Projects

    Status
    Normal priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions