conflicting command edits from several processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CLI Companion |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi.
This bug is serious, I presume, but not relevant to security.
When several processes of clicompanion are running and they have loaded the same library file at startup, when one process edits a command in the library (not the last one in the list), the succession of the commands is changed. When the second instance edits this very command or one below it, the edit is saved into the already changed list and it affects the wrong command.
Maybe the edit function should, when finally trying to overwrite, include a reload of the library and a comparison to the loaded one by some shell tool and some warning if necessary. Not: relaoading when pressing "edit" because the disturbance by the other process might occur right when the edit template is already opened but the writing still not started.
Changed in clicompanion: | |
status: | Fix Committed → Fix Released |
Thanks for report, I look at this.