Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By Angel

Thread: Problem with drop down editor

  1. #1
    planetcaravan is offline Sugar Community Member
    Join Date
    May 2011
    Posts
    32

    Default Problem with drop down editor

    Hi,

    here is what I'm using:

    Sugar Version: 6.2.1 (Build 6405)
    Sugar Edition: Community
    Category: Module Buidlder
    Operating System: Microsoft Windows XP
    PHP Version: 5.3.3-7+squeeze3
    Database: MySQL 5.1.49
    Web Server: Apache 2.2.16

    I have a very similar problem like in this thread: http://www.sugarcrm.com/forums/f165/...working-72694/

    Here is what I'm doing:

    - Enter in the admin area
    - Enter in module builder
    - Select a Package and a Module
    - Add a field
    - Select "DropDown" type
    - Clic on ADD

    and then appears a message: "Failed to retrive data".

    On Apache2's error log in the same moement I'm getting:

    Code:
    PHP Catchable fatal error:  Object of class MBModule could not be converted to string in /var/www/clients/client6/web17/web/sottodomini/crm/include/utils/LogicHook.php on line 97, referer: http://crm.mysite.it/index.php?module=ModuleBuilder&action=index&type=mb
    What can I do?

  2. #2
    planetcaravan is offline Sugar Community Member
    Join Date
    May 2011
    Posts
    32

    Default Re: Problem with drop down editor

    Can anybody help me, please?

  3. #3
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: Problem with drop down editor

    You could find the list key used by your dropdown field, and search on your files where this list is defined.
    Then edit the dropdown options directly on php code, save it and run a repair/rebuild.

    This way the options will be added and you will have no application error.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  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 drop down editor

    What browser are you using? There are issues with editing drop downs with FireFox 4+ and the version of Sugar that you are using. Sugar 6.2.2 is the only version compatible with FF and Internet Explorer 9
    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
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Default Re: Problem with drop down editor

    To be honest I don't like Angel-like solutions

    What I've done to solve this: open include/utils/LogicHook.php and put

    PHP Code:
    function call_custom_logic($module_dir$event$arguments null){
      
    // declare the hook array variable, it will be defined in the included file.
      
    $hook_array null;
      
    // start workaround
      
    if(!empty($module_dir) && $module_dir instanceof MBModule) {
        
    $module_dir '';
      }
      
    // end workaround
    ... 
    Farkhad Rakhimzhanov
    E-mail: farkhad@gmail.com
    Skype: rakikama

    SuperTimesheet and Invoicing — timesheet tool with invoicing for SugarCRM.
    Book time against Cases, Project Tasks and Projects.
    Create invoice regarding booked time, print it in PDF or HTML,
    customize template as you like.

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

    Default Re: Problem with drop down editor

    Quote Originally Posted by Superman View Post
    To be honest I don't like Angel-like solutions
    You don't like matching a supported browser to the corresponding supported version of Sugar?

    I am guessing you are joking.
    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)
    ______________________________________________

  7. #7
    planetcaravan is offline Sugar Community Member
    Join Date
    May 2011
    Posts
    32

    Default Re: Problem with drop down editor

    Quote Originally Posted by Angel View Post
    What browser are you using? There are issues with editing drop downs with FireFox 4+ and the version of Sugar that you are using. Sugar 6.2.2 is the only version compatible with FF and Internet Explorer 9
    Oh! I'm using FF 3.6...
    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2011-02-16, 11:34 PM
  2. Drop down editor and exports
    By Vessago in forum Help
    Replies: 4
    Last Post: 2011-02-09, 07:24 PM
  3. drop down editor not working in 6.0
    By kmiles2 in forum Developer Help
    Replies: 0
    Last Post: 2010-08-11, 02:16 PM
  4. Drop Down Editor won't take changes
    By aclark in forum Help
    Replies: 0
    Last Post: 2008-12-04, 09:20 PM
  5. Drop Down Editor - Invalid defaults
    By rustinp77 in forum Help
    Replies: 1
    Last Post: 2007-05-23, 07:51 PM

Tags for this Thread

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
  •