Results 1 to 7 of 7

Thread: records are not saved in added fields but saved in the original fields.

  1. #1
    oualidos80 is offline Member
    Join Date
    Jun 2008
    Posts
    11

    Default records are not saved in added fields but saved in the original fields.

    Hi All,

    I have the latest comunity edition and I am a windows user.

    I did a fresh installation of sugar in my server but I needed to add fields into some modules,

    When I create a new record everything saves good but when I edit the records the new record saves fine in the original fields that came with the module but no change applies in the added fields.

    I can edit the original fields as many times as I want, but for the added fields I created, when I edit it doesnt save. And if when I created it the field was empty, when I press edit and fill the fields, after I save it stays empty,

    The same happen with local setting like the date and time format, I change it, save but nothing happen.


    Thank you for your help in advance
    Last edited by oualidos80; 2008-07-07 at 07:36 PM.

  2. #2
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: records are not saved in added fields but saved in the original fields.

    Quote Originally Posted by oualidos80
    Hi All,

    I have the latest comunity edition and I am a windows user.
    Hi, what exactly is your version?
    "the latest comunity edition" is kinda confusing, since I might think you are using 5.1 RC or 5.0.0f...

    I did a fresh installation of sugar in my server but I needed to add fields into some modules,
    How did you create the new fields?
    Via module builder?
    Via Studio?
    Via manual php code?

    When I create a new record everything saves good but when I edit the records the new record saves fine in the original fields that came with the module but no change applies in the added fields.

    I can edit the original fields as many times as I want, but for the added fields I created, when I edit it doesnt save. And if when I created it the field was empty, when I press edit and fill the fields, after I save it stays empty,

    The same happen with local setting like the date and time format, I change it, save but nothing happen.


    Thank you for your help in advance
    I would try
    Admin->Repair->Clear template data cache and
    Admin->Repair->Rebuild relationships.
    What do you think the cookie monster eats ?

  3. #3
    oualidos80 is offline Member
    Join Date
    Jun 2008
    Posts
    11

    Default Re: records are not saved in added fields but saved in the original fields.

    Hi,

    I installed CE 5.0.0.F.

    For the fields I used studio/Fields.

    For some fields I just added new fields and for others I cloned existing fields and changed the names.

    Thank you.

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: records are not saved in added fields but saved in the original fields.

    And... a very important information:

    on which platform did you install SugarCRM?

    Was it unix/linux?

    Your issue sounds like the chmod 775 problem we heard so much already in this forum.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  5. #5
    oualidos80 is offline Member
    Join Date
    Jun 2008
    Posts
    11

    Default Re: records are not saved in added fields but saved in the original fields.

    Hi,

    I tried

    Admin->Repair->Clear template data cache and
    Admin->Repair->Rebuild relationships.

    but didnt work.

    My server is servage and the platform is

    Linux node3.c45 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686

    and while installing I made all files writable and when I forgot one of them while installing I couldnt continue untill made it writable.

    Thank you
    Last edited by oualidos80; 2008-07-09 at 08:18 AM.

  6. #6
    DragonflyMaster is offline Sugar Community Member
    Join Date
    Dec 2007
    Location
    Rimini, Italy
    Posts
    1,421

    Default Re: records are not saved in added fields but saved in the original fields.

    Admin->Quick Repair and Rebuild.

    That's what I'd try next.
    What do you think the cookie monster eats ?

  7. #7
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: records are not saved in added fields but saved in the original fields.

    Have you turned on the debug mode in the preference file?
    If not turn it on. Try saving again and go look at sugarcrm.log. (I would suggest deleting the file first before the test!)

    Search the log file for an Error. This sounds exactly like an problem I ran into several weeks ago. My guess is one of those variables had a relationship and then was deleted leaving a spurious variable (ie column) in a database table. Sugar tries to write to the column and can't so it generates a mysql error and drops all the custom data.

    Once you find the error, Look closely it will tell you which column it failed to write or read from. Use your myphpadmin or other SQL tool and go look for that problem. The table should also be in the error so you can go straight to the table.
    I simply deleted the column that was not needed and Sugar was complaining about (It had nio relevant data so check!) and everything started working fine again.

    If you did have a relationship field and deleted it this may need to be over in Bugs for the Sugar guys to fix.

    Good luck, Hope some of this helps,
    Paris

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 2007-12-03, 02:42 PM
  2. Replies: 1
    Last Post: 2007-02-06, 09:21 PM
  3. Saved Search & Layout - Custom fields
    By bokonon in forum Developer Help
    Replies: 2
    Last Post: 2007-01-09, 09:28 AM
  4. new added fields don't appear
    By snue in forum Feature Requests
    Replies: 0
    Last Post: 2006-05-08, 08:19 AM
  5. Replies: 4
    Last Post: 2005-09-12, 03:53 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
  •