Results 1 to 4 of 4

Thread: Sugar Overwritting cration date or puts wrong date

  1. #1
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Sugar Overwritting cration date or puts wrong date

    Hello,

    Just caught up with an seemingly random issue we've had since we've started with Sugar. Noticed the issue in the past but thought it was a fluke.

    Our Sugar implementation date was June 7th 2011.

    This will happen on records on every module we use : Opportunity, Lead, Accounts.

    Every time we do a change (edit and save) in Sugar, it tries to modify the creation date. See attached picture of change log. On that opportunity, we see the creation date as june 6th. So Sugar gives us an age og 169 days instead of the 3 we should see.

    Also creation date field is not available to be edited or modified by any users, not even admins.

    That said, when we create a new item it also tries to create it with a wrong date, more often with June 7th.

    Sometimes it will put another date other than june 7th, like this week it put a date in august for a new opportunity.

    Like I said, when we save it seems to be trying to change creation date, and more often then not it will fail and creation date will remain the good one, but sometimes, and we've seen it in quite a few entries it will be able to change the original creation date with a false one.

    We have a field that calculates the age of opportunities. With Sugar putting wrong creation date on some records, it's hard to really see what's going on.

    We've brought this to the attention of our intergrator, the one that makes PHP prgramming on our Sugar, and they are at loss and do not comprehend what might be happening. They will see open a bug ticket with Sugar.

    But i am writing this to see if maybe anyone had the same problem before and if anyone might have a solution. Tried searching forums, but haven't found anything apart for some date problems on campaigns which is not our case.

    Thank you

    Have a nice day
    Attached Images Attached Images  
    Last edited by Doudounka; 2011-11-25 at 12:06 PM. Reason: More clarification.

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Sugar Overwritting cration date or puts wrong date

    Strange.

    Which version are you using?
    CE?
    Any error messages in log file? As far as I understand there is no error message on screen, right?

    Maybe this is an error in a logic hook implementation or workflow rule (in case of non-CE-edition).
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Re: Sugar Overwritting cration date or puts wrong date

    Hello,

    SugarCRM Professional
    Version 6.1.2 (version de construction 5555)

    No error message anywhere, not on screen not in log file.

    But the problem is constant. As soon as an opportunity, account, contact or lead is created/edited and saved, Sugar will try to change creation date, sometimes it won't be able to, sometimes he will.

  4. #4
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: Sugar Overwritting cration date or puts wrong date

    I think you should have a look into your before_save and after_safe logic hooks for these modules. If you don't find the problem there you should check your workflow rules.
    Last edited by sts; 2011-11-25 at 03:51 PM.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2011-01-05, 01:35 PM
  2. Replies: 0
    Last Post: 2010-11-24, 05:29 AM
  3. Replies: 6
    Last Post: 2007-10-05, 06:37 PM
  4. Replies: 6
    Last Post: 2006-10-02, 09:49 PM
  5. Date/Time wrong in Sugar
    By dhsg in forum Help
    Replies: 0
    Last Post: 2006-03-28, 11:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •