Date format issue
Brought to you by:
hightowe
I installed Activecollab 2.3.2 and chart module 0.4 on a linux server. When I execute time command I have the following result :
[root@intranet charts]# date
Thu Sep 30 13:49:17 CEST 2010
When I clic on "chart" tab the following error message is displayed, I tried to change activecollab date format but the message remain the same :
JpGraph Error: 6016 Date string (Object) specified for Gantt activity can not be interpretated. Please make sure it is a valid time string, e.g. 2005-04-23 13:30
The "(Object)" part of that error message indicates that a php object is getting passed to JpGraph where a string (of format YYYY-MM-DD, representing a date) is expected. That is a strange thing to have happen and I am fairly confident that such a bug would have shown up in my testing and/or at one of my clients if the problem is in the charts module. Is it possible that you have another module installed that has changed the model of milestones, checklists, tickets, and/or tasks such that a property/method that was previously a simple data string is now an object? The dates are pulled directly from the models of the relevant objects using methods like $milestone->getStartOn() and $milestone->getDueOn().
Sincerely,
Lester
I'm getting the same error.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
We have the same issue with activecollab 2.3.2, smallbiz.
Looks like it comes from activecollab/application/modules/charts/helpers/jpgraph/jpgraph_gantt.php in function function NormalizeDate($aDate)
Some date are correctly passed to JGraph, some are seen as an Object ?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Just wondering if there will be a fix for this. I only have standard modules and get the same error.