Opened 12 years ago

Last modified 12 years ago

#9675 closed defect

userstart and userfinish fields cause errors on gant chart and roadmap — at Initial Version

Reported by: vclark Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

What is the correct way to add userstart and userfinish date fields. Also, is there a way to make them proper date fields that enforces formatting instead of text?

I installed TracJsGanttPlugin and added [TracPM] section to trac.ini. I only added the custom start and end fields, I did not add the sections for master tickets or sub/child tickets plugins. I am trying to add things incrementally to see what I want to use.

First I added the [TracPM] section. The date fields did not appear on my tickets so I realized I probably needed to add custom fields to the tickets. So I added this to my trac.ini: [ticket-custom] userstart = text userstart.label = Start Date userfinish = text userfinish.label = End Date

The fields show up on my tickets. But if I try to access a gantt chart I get: Error: Macro TracJSGanttChart(milestone=WC7 Upgrade) failed

Query filter requires field and constraints separated by a "="

And if I go to Roadmap I get: Trac detected an internal error:

TypeError: cannot concatenate 'str' and 'NoneType' objects

Change History (0)

Note: See TracTickets for help on using tickets.