Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeating tasks handled incorrectly in CSV export #24

Open
jmsgwd opened this issue Jan 5, 2020 · 0 comments
Open

Repeating tasks handled incorrectly in CSV export #24

jmsgwd opened this issue Jan 5, 2020 · 0 comments

Comments

@jmsgwd
Copy link

jmsgwd commented Jan 5, 2020

Hi, it seems that the CSV export does not handle repeating tasks correctly.

I became suspicious when I noticed that my Things DB has 52 repeating tasks and the CSV export only has 11 rows where Recurring=TRUE. Those 11 appear to be repeating tasks which all have zero completed instances with the same title.

If a repeating task has one or more completed instances with the same title, then weird behaviour occurs. For example: consider a repeating task with five completed instances, all having with the same title and same tag "next".

  • Expected behaviour: the CSV contains 6 rows relating to this task, one for the repeating task itself, and five for the completed instances - all with same tag "next"
  • Actual behaviour: The CSV contains only 1 row relating to this task, with Recurring=FALSE. The completion date matches only the most recent completed instance. The tag field has the value "next,next,next,next,next,next".

The number of duplicated tag names in the tag field matches the expected (but not actual) number of rows in the CSV.

Completed instances seem to work OK only if their titles have been edited (so they're different from the parent task), but not when they share the same title as their parent task.

@jmsgwd jmsgwd changed the title Repeating tasks correctly incorrectly in CSV export Repeating tasks handled incorrectly in CSV export Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant