Modify

Opened 11 months ago

Closed 9 months ago

#11110 closed defect (worksforme)

Chart is not rendered

Reported by: s.helfrich@… Owned by: ChrisNelson
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 9 months ago by s.helfrich@…

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from ChrisNelson. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.