Opened 12 years ago
Last modified 11 years ago
#11059 assigned defect
pDate is null Javascript error
Reported by: | Owned by: | Chris Nelson | |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.0 |
Description (last modified by )
I have a javascript error even with [[TracJSGanttChart(sample=1)]]
macro.
jsgantt.js (line 2350) TypeError: pDate is null vYear4Str = pDate.getFullYear() + '';
Firefox 20.0.1 Trac 1.0.1
Attachments (1)
Change History (11)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
I have tried with real data first (that is way I said "even") but it gave the same error
e.g. TracJSGanttChart(milestone=1.9.3)
comment:4 Changed 12 years ago by
I can take a look in the morning. What are the contents of your [trac-jsgantt]
and [TracPM]
sections?
comment:6 Changed 11 years ago by
Thanks it helped! Should not scrollTo be set to "today" by default?
comment:7 Changed 11 years ago by
Error still exists. Changing the scrollTo parameter does not have any effect. Even the sample is not showing up. --- [15:50:39.385] TypeError: pDate is null @ https://myhost/trac/xy/chrome/tracjsgantt/jsgantt.js:2350 --- Please give a feedback if you will try to fix this or if I should delete the plugin. Thanks!
comment:9 Changed 11 years ago by
Status: | new → assigned |
---|
I've encountered the same issue with the sample data. It is reported in one of the open tickets, I think.
I'd suggest pressing onward and trying some real data.