Results 1 to 3 of 3

Thread: Date is automatically populated when it should not

  1. #1
    rleroux is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    68

    Default Date is automatically populated when it should not

    I am running Sugar 4.5.1i on SQL2005 with PHP 5.1

    I added three custom fields to the 'edit view' of the Contacts module.
    Spouse First Name
    Spouse Last Name
    Spouse Birthdate

    I created "Spouse Birthdate" as a date field with default set to none.

    I save and publish the 'page'. when I go in to enter a 'new' contact this field is populated automatically. Since this is new record, why is there a date populating when I told the system not to put in a date (format of the date is set for dd/mm/yyyy)

    I've looked at EditView.php, DetailView.php and the relevant HTML pages in both /modules/contacts and in /custom.

    What line can I modify (and where is the file located) to prevent the value of 31/12/1969 appearing in this custom field?

    Many thanks.

    PS. I should add that I still have the original default birthdate field on the form. This works perfect--does not show a date of any sort when you create a new contact, until you type one in or select from the calendar.
    Last edited by rleroux; 2008-11-28 at 11:56 PM.

  2. #2
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Date is automatically populated when it should not

    This issue is fixed in Sugar 5. I recommend upgrading to the latest version (5.1.0 patch B).
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  3. #3
    rleroux is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    68

    Angry Re: Date is automatically populated when it should not

    I would not mind and I tried a new install of 5.1.0b this evening. Just as I found near the beginning of the year, I can't even get the email UI to pass the 'test' for the email settings for sending/receiving email.. I testing my setting with outlook express and bingo...I can send/receive email. I add the same pop3/smtp settings into the email UI, and click 'test settings', the dialog box appears and after 2-3min, the following message appears:

    Can't connect to <my mail server>,110: Timed out
    Please check your settings and try again.

    So although 5.1.0b appears to have potential (the 31/12/1969 no longer appears for my custom field), issue with the email still persist which does not make 5.1.0b a viable solution for my situation.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Email Date Received
    By mudtel in forum Developer Help
    Replies: 0
    Last Post: 2008-05-16, 08:59 AM
  2. Replies: 1
    Last Post: 2007-12-14, 08:07 AM
  3. Incorrect Calendar Date
    By datahost in forum Help
    Replies: 0
    Last Post: 2007-11-27, 04:12 AM
  4. Problem with Date format
    By nicolas in forum Help
    Replies: 1
    Last Post: 2005-05-19, 02:16 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
  •