Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept changes should also update the entry editor #8901

Open
2 tasks done
koppor opened this issue Jun 13, 2022 · 1 comment
Open
2 tasks done

Accept changes should also update the entry editor #8901

koppor opened this issue Jun 13, 2022 · 1 comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs entry-editor export / save

Comments

@koppor
Copy link
Member

koppor commented Jun 13, 2022

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

@koppor koppor added the bug Confirmed bugs or reports that are very likely to be bugs label Jun 13, 2022
@ThiloteE
Copy link
Member

ThiloteE commented Aug 16, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs entry-editor export / save
Projects
Status: Normal priority
Development

No branches or pull requests

2 participants