Skip to content

Empty 'backup' wrote over database #9063

@RJDan

Description

@RJDan

JabRef version

Latest development branch build (please note build date below)

Operating system

GNU / Linux

Details on version and operating system

Ubuntu 22.04, Swaywm 17, JabRef 5.8--2022-08-15--f7648e8 via snap

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.Updated JR via snap CLI snap refresh
2. Open the JabRef GUI from CLI. Tried to 'parse metadata from pdf'.
3. Killed JabRef process because it froze.
4. Restart JabRef GUI from CLI.
I was greeted with a message that a backup was detected in the snap folder: /home/user/snap/jabref/1886/.local/share/JabRef/5.8--2022-08-15--f7648e8/backups/
I clicked 'restore from backup' without much thought.
My library database (in my home directory) was replaced with the empty 'backup' from the snap folder.

Appendix

The issue was caused by the latest development version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for bug.

    Projects

    Status
    High priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions