ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.29k stars 99 forks source link

Archiving tasks whose description contains a comma breaks the archive file #549

Closed callegar closed 8 months ago

callegar commented 9 months ago

Bug Report

App Version:

1.3.1

Platform: [Windows / macOS / Linux]

Linux

Installation Method: [App Store / Direct Download / Other]

appimage

Bug Description:

When you archive a task containing a command, the task is archived incorrectly, and a linebreak is substituted for the comma, so breaking the format of the todo file.

I realize that a new version of sleek is under active development, but this is a major flaw causing data loss.

Steps to Reproduce:

  1. Enter a task with a comma (e.g. foo, bar).
  2. Mark it as complete
  3. Archive it

Expected Behavior:

The completed task is archived

Actual Behavior:

Sleek writes two lines for this entry in the archive file, one up to the comma and one for the rest of the text after the comma

Additional Information:

Screenshots: [If applicable, include screenshots that demonstrate the bug.]

System Information:

Reproducibility:

Impact:

Workaround: [If you found any temporary workaround for the bug, please mention it here.]

ransome1 commented 8 months ago

@callegar with the release of 2.0.0 this should be obsolete. Thanks for reporting it though, please keep on supporting this project.