Results 1 to 4 of 4

Thread: Editing an Opportunity creates a duplicate but also edits the original

  1. #1
    adammcc is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Default Editing an Opportunity creates a duplicate but also edits the original

    Hi,

    I recently moved my install from FreeBSD 7.2/Lighttpd to OpenSolaris 2009.06/Lighttpd and since then if I edit an opportunity, (Edit, Save) it creates a new opportunity with the changes but also changes any originals. To explain better, if I edit an opportunity five times, I end up with five duplicates and all five are in the state of the final edit. Also, if I delete one opportunity it deletes all five.

    When I moved the install I didn't change anything - I dumped the db, tar'd up the files, scp'd both to the new machine, loaded the db and untar'd the files. Everything else works fine. There are no errors logged.

    The versions of software I am using are as follows:

    OS: OpenSolaris 2009.06
    SugarCRM Version: 5.2.0e
    Webserver Version: Lighttpd 1.4.19
    PHP Version: 5.2.9 with Suhosin v0.9.27 and APC
    MySQL Version: 5.0.67

    Thanks for any help you can give me,
    Adam
    Last edited by adammcc; 2009-06-12 at 01:55 PM.

  2. #2
    adammcc is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Default Re: Editing an Opportunity creates a duplicate but also edits the original

    It seems that additional rows are being added to the opportunities_cstm table. I believe this is related to the following thread, to which no fix was added.

    http://www.sugarcrm.com/forums/showthread.php?t=27505

  3. #3
    adammcc is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Default Re: Editing an Opportunity creates a duplicate but also edits the original

    *bump* Still can't work this out.

  4. #4
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: Editing an Opportunity creates a duplicate but also edits the original

    delete the _cstm table and add thefields you need addionally right to the table of the opportunity (define them in custom/Extension/Oppotunities/Ext/Vardefs/whatsoever.php and do a repair .. ).

    Quote Originally Posted by adammcc View Post
    *bump* Still can't work this out.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. duplicate button takes me back to the original record on save
    By mikesolomon in forum Developer Help
    Replies: 4
    Last Post: 2008-10-21, 04:12 PM
  2. Replies: 0
    Last Post: 2008-07-15, 06:50 PM
  3. Replies: 1
    Last Post: 2008-06-18, 05:41 PM
  4. Replies: 5
    Last Post: 2007-11-16, 04:10 PM
  5. Replies: 0
    Last Post: 2007-04-04, 05:21 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
  •