Skip to content

Repeating tasks handled incorrectly in CSV export #24

@jmsgwd

Description

@jmsgwd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions