Results 1 to 6 of 6

Thread: Error: salutation changes back to --none-- in the target (prospect) module.

  1. #1
    2Old is offline Junior Member
    Join Date
    Nov 2006
    Posts
    4

    Question Error: salutation changes back to --none-- in the target (prospect) module.

    Hello,
    I have a very strange error.
    This error came to light when I was importing some targets. I want to use custom salutation (dutch) so in Studio I changed the drop down menu for the salutation_dom.
    I added “heer” dutch for mister en “mevrouw” dutch for miss and deleted some salutations I will not use.
    If I select a target I can changes the salutation to “--none--”, “Mr.”, “Ms.”, “mevrouw” and “heer”. After saving the changes, all changes stick to there changed values except “mevrouw” this one changes back into --none-- ????? I have no idea why.

    The file SugarOS-Full-4.5.1/custom/include/language/en_us.lang.php looks like this:
    <?php

    $app_list_strings['salutation_dom']=array ( '' => '',
    '' => '',
    'Mr.' => 'Mr.',
    'Ms.' => 'Ms.',
    'mevrouw' => 'mevrouw',
    'heer' => 'heer',
    );


    YES you are right its missing ?> at the end. Tried to fix this but it does not fix the problem.
    I also tried to changes the order of the salutation (e.g. Mr., Ms., heer, mevrouw) but no luck.

    I did a full new install of version 4.5.1 including a new database. Imported 200 targets and that is all in the database.

    Does anyone have an idea?

    Thanx, Robert.

    I'm using:
    Sugar Version: Version 4.5.1 (Build 1197)
    Sugar Edition: SugarSuite
    Category: importing/changing targets
    Operating System: linux
    PHP Version: 5.2.0
    Database: MySQL 5.0.26
    Web Server: Apache 2.2.3

  2. #2
    kenlyle is offline Sugar Community Member
    Join Date
    Nov 2004
    Posts
    168

    Default Re: Error: salutation changes back to --none-- in the target (prospect) module.

    I am seeing the same thing in 4.5.1c.

    This behavior persists after upgrading to 4.5.1d.

    Thanks,
    Ken
    Last edited by kenlyle; 2007-05-22 at 07:38 PM. Reason: Update

  3. #3
    spectheintro is offline Sugar Community Member
    Join Date
    May 2006
    Posts
    59

    Default Re: Error: salutation changes back to --none-- in the target (prospect) module.

    I can confirm this is a problem with any custom dropdown in 4.5.1d. Any time I go to edit a record that has a custom dropdown in it, the dropdown value resets to the default.

  4. #4
    watershed is offline Junior Member
    Join Date
    Aug 2007
    Posts
    1

    Question Re: Error: salutation changes back to --none-- in the target (prospect) module.

    Quote Originally Posted by spectheintro
    I can confirm this is a problem with any custom dropdown in 4.5.1d. Any time I go to edit a record that has a custom dropdown in it, the dropdown value resets to the default.
    Has this problem been resolved or is there a workaround? I have this same issue.

    I am using SugarPro Version 4.5.1h (Build 1104)

    Thanks!!

  5. #5
    angelm is offline Junior Member
    Join Date
    Jan 2008
    Posts
    1

    Default Re: Error: salutation changes back to --none-- in the target (prospect) module.

    Similar problem with Sugar Community 5.0.0 over Xampp 2.5 and spaninsh language pack . Any changes to the salutations_dom drop-down get ignored, even if the mentioned en_us.lang.php file looks like:

    <?php
    $GLOBALS['app_list_strings']['salutation_dom']=array ( '' => '',
    '' => '',
    'D.' => 'Mr.',
    'Srta.' => 'Ms.',
    'Dª.' => 'Mrs.',
    'Dr.' => 'Dr.',
    'Prof.' => 'Prof.',
    );
    $GLOBALS['app_list_strings']['salutation_dom']=array ( '' => '',
    '' => '',
    'D.' => 'Mr.',
    'Srta.' => 'Ms.',
    'Dª.' => 'Mrs.',
    'Dr.' => 'Dr.',
    'Prof.' => 'Prof.',
    );
    $GLOBALS['app_list_strings']['salutation_dom']=array ( '' => '',
    '' => '',
    'D.' => 'Mr.',
    'Srta.' => 'Ms.',
    'Sra.' => 'Mrs.',
    'Dr.' => 'Dr.',
    'Prof.' => 'Prof.',
    );

    Yeah, it looks kinda triplicated... :-/

  6. #6
    dgoadby is offline Member
    Join Date
    Sep 2008
    Posts
    6

    Unhappy Re: Error: salutation changes back to --none-- in the target (prospect) module.

    I'm using 5.5.1 and I am having a problem in Contacts with Salutations. I found that if I added Councillor[Councillor] in the salutation_dom drop down list it would add nothing when I selected it. However, when I changed the Item Name to Counc it worked .

    I then tried counc, counci, council, councill, couns and only the first and last ones work. After that I tried other words and the answer seems to be the name length.

    If it the name length is more than 5 characters long it doesn't add it for some reason. I didn't check the code.

    Stranger still, using the list above, it always takes the label for counc if I select counci, council or councill but will take the correct label for couns.

    It seems like a PHP problem in the pattern matching to me (bit I didn't look yet!)
    Last edited by dgoadby; 2010-04-08 at 08:42 PM. Reason: typo

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I Can't Get Passed the Logon Page!
    By whatistocome in forum Help
    Replies: 109
    Last Post: 2010-12-28, 07:37 AM
  2. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  3. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  4. Replies: 1
    Last Post: 2006-06-27, 11:10 AM
  5. Some Document Module and Prospect Lists Bugs
    By cyhss in forum Developer Help
    Replies: 0
    Last Post: 2005-07-29, 06:40 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
  •