Changing @auto paths overwrites files without warning
Bug #889175 reported by
tbnorth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
leo-editor |
Fix Released
|
High
|
Edward K. Ream |
Bug Description
I loaded an outline with @auto nodes pointing to an out of date path. So body texts were empty. I updated the paths in the node headlines and saved the file, expecting to be prompted for overwriting the existing files (now the paths were correct again), but they were over-written with the blank content without warning. Damn. Steps to reproduce in a simpler way below, but don't write the below of as contrived, because the above is the real problem.
Create @auto /home/tbrown/
enter text, save file
Edit headline to @auto /home/tbrown/
enter text, save file
Edit headline back to /home/tbrown/
Save file - /home/tbrown/
Changed in leo-editor: | |
importance: | Undecided → High |
assignee: | nobody → Edward K. Ream (edreamleo) |
To post a comment you must log in.
I now see this happens also if the path change is in a @path node ancestor of the @auto node.