[kmymoney] [Bug 497229] New: You can write to the same .mny "cloud" file using two computers at the same time - file should be "locked" .
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Mon Dec 9 10:23:43 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=497229
Bug ID: 497229
Summary: You can write to the same .mny "cloud" file using two
computers at the same time - file should be "locked" .
Classification: Applications
Product: kmymoney
Version: 5.1.3
Platform: unspecified
OS: Unspecified
Status: REPORTED
Severity: normal
Priority: NOR
Component: file
Assignee: kmymoney-devel at kde.org
Reporter: david_crossley at hotmail.com
Target Milestone: ---
SUMMARY
I have a desktop and a laptop and have the software on both depending on if I
am in my office or out and about the file is held one cloud storage (in this
case onedrive). If I accidentally leave the software running on my desktop, I
can still open the .kmy file w/r on the laptop. I can then change things and
close the laptop app. When I get home and close the desktop app it overwrites
the changes I made on the laptop.
STEPS TO REPRODUCE
1. Open .mny file "cloud file e.g. onedrive" on first computer (desktop).
2. Open the same .kmy file "cloud file" on the second computer (laptop).
3. Make a change on the second computer (laptop).
4. Save and close the application on the second computer (laptop).
5. Accidental save or close/autosave etc. on first computer (desktop).
OBSERVED RESULT
The main "cloud file" no longer contains the changes as it is over written by
the original file.
EXPECTED RESULT
The application should "lock" the open file to the first computer. When the
second computer tries to open the file, the application knows that the file is
open on the first computer. It then asks if you want to open read-only or take
over read/write noting that you may loose any unsaved changes on the first
computer (if you are auto saving this may not cause any issues as the first
computer will have updated the .kmy file) and the second computer can take over
the "lock".
The user then at least knows that they have two instances of the app trying to
use the same file and can decide how to deal with it.
Note: Microsoft Money did this by renaming the file when it was open to
something like .mny~locked I think.
OR You could...... use some cleaver syncing type thing so that update appear
on both at the same time....
SOFTWARE/OS VERSIONS
Desktop: Windows 10 (KMymoney Version 5.1.3-eef04f1)
Laptop: Linux Mint (KMymoney Version 5.1.3)
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list