Modify

Opened 11 years ago

Closed 11 years ago

#11110 closed defect (worksforme)

Chart is not rendered

Reported by: s.helfrich@… Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: major Keywords:
Cc: s.helfrich@… Trac Release: 1.0

Description

If tickets are available, no chart is rendered. Otherwise "No tasks selected." is shown.

The only obvious error that occurs is described in #11059.

I have installed TracJsGantt as described in the installation instructions.

The plugins that are in use:

  • TimingAndEstimation
  • MasterTickets
  • SubTickets

Trac.ini:

[TracPM]
date_format = %Y-%m-%d
days_per_estimate = 0.125
default_estimate = 4.0
estimate_pad = 0.0
fields.estimate = estimatedhours
# fields.finish = userfinish
fields.parent = parents
fields.pred = blockedby
# fields.start = userstart
fields.succ = blocking
fields.worked = totalhours
goal_ticket_type = milestone
hours_per_estimate = 1
incomplete_milestone_goal_status = active
parent_format = #%s

Attachments (0)

Change History (1)

comment:1 Changed 11 years ago by s.helfrich@…

Resolution: worksforme
Status: newclosed

There seems to be a problem in JSGantt.formatDateStr() when no scrollTo option is set. Since the first parameter is not checked for null, an exception is thrown with the result that the chart is not rendered..

Thus, using

[[TracJSGanttChart(scrollTo=today)]]

has solved the problem for me.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Chris Nelson.
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.