Menu

#1 Date format issue

open-works-for-me
nobody
None
5
2010-10-14
2010-09-30
Anonymous
No

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

Discussion

  • Lester Hightower

    • status: open --> open-works-for-me
     
  • Lester Hightower

    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

     
  • Nobody/Anonymous

    I'm getting the same error.

     
  • Anonymous

    Anonymous - 2010-11-22

    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 ?

     
  • Anonymous

    Anonymous - 2010-12-10

    Just wondering if there will be a fix for this. I only have standard modules and get the same error.

     

Log in to post a comment.

MongoDB Logo MongoDB