Modify

Opened 3 years ago

Closed 3 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

Description

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:

[[TracJSGanttChart(project=MM-IT,milestone=phase_02,status!=closed,format=day,omitMilestones=1,doResourceLeveling=1)]]

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

[[TracJSGanttChart(project=MM-IT,milestone=phase_03,status!=closed,format=day,omitMilestones=1,doResourceLeveling=1)]]

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 3 years ago by Massimo

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

comment:2 Changed 3 years ago by Ryan J Ollos

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

comment:3 Changed 3 years ago by Ryan J Ollos

In 17707:

Trac-jsGantt 1.2.0.0dev: Handle milestone with no tickets

Refs #13627.

comment:4 Changed 3 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
Action
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.