Results 1 to 5 of 5

Thread: Problem with custom fields in contact module

  1. #1
    moschap is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    46

    Default Problem with custom fields in contact module

    Hi everyone,

    I have a peculiar problem with my supported sugarcrm deployment. The initial installation of sugarcrm in my site was sugarcrm 4.2.1b, when i was about to carry out the upgrade i noticed that contact module on the live system which had a couple of custom feilds were not saving the edits on any of the values entered in any of the custom fields (but when you create a record it saves for all of the values default and custom field), but it saves data entered in the fields that ships with sugarcrm. The happens for all the records in contacts module except for one particular record, where editing the values in the custom fields saves to the database. My problem now is that after the upgrade i still have the problem, Please has anyone experienced this problem and what are possible solutions, thanks

    Mysql server 5.0
    php 5
    Sugarcrm 4.5.1i

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Problem with custom fields in contact module

    Try logging in as Admin, then go the admin control panel and run a Rebuild.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    moschap is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    46

    Default Re: Problem with custom fields in contact module

    Hi Angel,

    Thanks for your reply, but then sorry if i am asking an obvious question, but which of the repairs do i run. I am guessing the rebuild extensions Link.

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Problem with custom fields in contact module

    My apologies, I missed the part about you being on 4.5.1.

    Try the Repair Database option and also, go back to the Admin control panel, click Studio, then click Repair Custom Fields.

    I believe the latter is the one that is of most relevance here, but give both options a try.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    moschap is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    46

    Default Re: Problem with custom fields in contact module

    Thanks Angel, but the problem has been fixed. The problem was there was a custom field created that is repesented as a checkbox, it is supposed to take either a zero or one (tinyint) at the database but somehow the table allows null values for all the newly created records, so when there is an update on the table there is an error by Mysql that it cannot save the null value for that column, so i altered the table and gave a default of zero's for that coulmn and it worked.

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: 2006-12-20, 11:39 PM
  2. Problem while Add Custom Fields -strange issue
    By xMOe in forum Developer Help
    Replies: 0
    Last Post: 2006-09-06, 02:31 PM
  3. Replies: 7
    Last Post: 2006-06-06, 07:56 PM
  4. Replies: 5
    Last Post: 2006-06-01, 02:18 PM
  5. Problem with custom fields
    By tsalin in forum Help
    Replies: 1
    Last Post: 2005-10-19, 10:13 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
  •