Skip to content

Error: '-1' during sync #181

@TunnelThruTime

Description

@TunnelThruTime

Hello,

I've been quite happy to find and get this app working, however it failed to sync today with
askwarriorMessage [headers={client=taskd 1.1.0, code=500, status=ERROR: '-1' is not a valid date in the 'm/d/Y' format.}, payload=Optional.empty].
It did this after I added some features to my database, such as a new uda, and
a new report I found onine which I updated the taskrc with.

# Custom UDA config 

uda.effort.type=string
uda.effort.label=Effort
uda.effort.values=s,m,l,xl,xxl
urgency.uda.effort.s.coefficient=1.5
urgency.uda.effort.m.coefficient=1.1
urgency.uda.effort.l.coefficient=1.0
urgency.uda.effort.xl.coefficient=-1.0
urgency.uda.effort.xxl.coefficient=-1.4

# Custom Reports config


report.next.labels=ID,Active,Age,Deps,P,E,Project,Tag,Recur,S,Due,Until,Description,Urg
report.next.columns=id,start.age,entry.age,depends,priority,effort,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency

I find it hard to see how this could have caused a problem but other than using the wait:someday
modification command on some of the tasks I didn't do anything and all the other syncing attempts where successful.
I removed the someday dates, first by changing them, and then by deleting the someday tasks.
Neither worked in resolving the issue.

Could the dates remain in the data and still cause a syncing issue.
I'm using task version, 2.6.2, and thinking it would fix itself on upgrade
attempted and was told Warning: task 2.6.2_1 already installed. So i'm up to date

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