Opened 12 years ago
Last modified 12 years ago
#9714 closed defect
JsGantt fails with ChildTickets plugin and non-numeric parent value (#%s) — at Version 1
Reported by: | rzhidalgo@yahoo.com | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
Trac JsGantt plugin fails to generate the chart with the following log error message: ---
2012-01-20 17:44:43,257 Trac[formatter] ERROR: Macro TracJSGanttChart(milestone=Milestone1, res=0, format=quarter) failed: Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 717, in _macro_formatter return macro.process(args, in_paragraph=True) File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 304, in process text = self.processor(text) File "build/bdist.linux-i686/egg/trac/wiki/formatter.py", line 291, in _macro_processor text) File "build/bdist.linux-i686/egg/tracjsgantt/tracjsgantt.py", line 612, in expand_macro tasks = self._add_tasks(options) File "build/bdist.linux-i686/egg/tracjsgantt/tracjsgantt.py", line 565, in _add_tasks self.tickets.sort(key=itemgetter('wbs')) KeyError: 'wbs'
--- The ChildTickets plugin requires a '#' sign before the ticket number as a parent field value, which seems to be causing the problem.
Note: See
TracTickets for help on using
tickets.