Opened 5 years ago

Closed 4 years ago

#13627 closed defect (fixed)

Error: Macro TracJSGanttChart syntax error at or near ")"

Reported by: Massimo Owned by: Ryan J Ollos
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2


The Macro TracJSGanttChart fails when filtering for Milestone and there is no ticket yet in the result. Using a milestone that already has tickets works like that:


But using the next milestone that has no tickets yet...


is failing like

Error: Macro TracJSGanttChart(project=MM-IT,milestone=phase_03,status!=closed,format=day,omitMilestones=1,doResourceLeveling=1) failed

syntax error at or near ")"
LINE 1: ...CT parent, child FROM subtickets WHERE parent IN () AND chil...

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by Massimo

However using the alternative syntax display=milestone:phase_03 is stable for empty ticket lists.

comment:2 Changed 5 years ago by Ryan J Ollos

Owner: changed from Chris Nelson to Ryan J Ollos
Status: newaccepted

comment:3 Changed 4 years ago by Ryan J Ollos

In 17707:

Trac-jsGantt Handle milestone with no tickets

Refs #13627.

comment:4 Changed 4 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

If issue persists, please send traceback from logs.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.