Results 1 to 3 of 3

Thread: Status automatically changes on saving

  1. #1
    sugra's Avatar
    sugra is offline Senior Member
    Join Date
    Jul 2008
    Location
    Jamaica
    Posts
    42

    Default Status automatically changes on saving

    Good day,

    I recently upgraded by system from 5.0.0 to 5.2.0. In the meeting module, the status is set to default to Planned, yet when people save a meeting it is saved as Held!!!! They did not make a change to the status.... How can this happen???

    Has anyone experienced this problem? How can it be solved? Any help would be appreciated.

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

    Default Re: Status automatically changes on saving

    Can't think of a reason as to how 5.2 would cause that. Have you looked in custom/modules/Meetings to see if by any chance you may have some sort of logic hook/workflow enabled that in turn is causing that behavior?
    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
    sugra's Avatar
    sugra is offline Senior Member
    Join Date
    Jul 2008
    Location
    Jamaica
    Posts
    42

    Default Re: Status automatically changes on saving

    Hi Angel,

    You are an angel for responding to my call for help. Thanks for the advice. I painstakingly went through the modules and found a line in the meetings modules in 5.2.0 which was not there in 5.0.0. The line is:

    this.form.status.value=’Held’
    and is used in 3 areas:

    • custom\modules\metadata\DetailViewDefs.php
    • cache\modules\meetings\DetailView.tpl
    • modules\Meetings\metadata\DetailViewDefs.php


    An example of its use is in:

    {if $fields.status.value != "Held"} <input type="hidden" name="isSaveAndNew" value="false"> <input type="hidden" name="status" value=""> <input type="hidden" name="isSaveFromDetailView" value="true"> ……

    onclick="this.form.status.value='Held'; this.form.action.value='Save';this.form.return_mod ule.value='Meetings';


    Do you think this code could cause the issue and if so, can I delete that code only from the 3 areas mentioned above to solve the problem?

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: 2011-04-04, 08:33 PM
  2. Replies: 1
    Last Post: 2010-03-05, 04:38 AM
  3. Saving Status Indicator
    By henryjd in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-11-11, 07:10 AM
  4. Replies: 10
    Last Post: 2008-04-04, 11:11 AM
  5. Replies: 4
    Last Post: 2008-04-04, 10:07 AM

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
  •