Results 1 to 6 of 6

Thread: Issues with the Module Builder

  1. #1
    jspencer is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Orlando, Fl
    Posts
    85

    Default Issues with the Module Builder

    I created a new module in the module builder based on an account (company) type. I did only minor customizations (mostly hid a bunch of fields), and after deploying it seems the subpanels are not displaying the "key_modulename_type" field correctly. Instead of showing the label like it should in related modules it is showing the label name. I went in and checked out the modules/modulename/metadata/subpanels/default.php file and sure enough the vname definition was missing. I added it and made sure everything else matched the formatting for the other subpanel items and now it works fine.

    On a related note, while in there I also observed that all of the width parameters were missing the % symbol (which is present in all other factory modules in their respective subpanel default.php files). After I put that in the columns behaved a LITTLE better, but it still seems like it is not splitting them up correctly according to the values.

    Checking the contacts/metadata/subpanels/foraccounts.php file it seems like they can add up to MORE than 100%, so how exactly is Sugar treating this parameter?

    Finally, it also seems the studio subpanel editing is broken. I tried using that instead of the original default files and it caused all kinds of strange issues (like the name no longer being a link, even though the custom subpanel definition still seems to tell Sugar to make it so). Is this a known bug (I've seen other posts dealing with this with no Sugar team responces)?
    Last edited by jspencer; 2008-01-11 at 05:11 PM.
    -Jeff

    SugarCRM CE 5.0a - Ubuntu 6.04 - Apache 2 - PHP 5 - Mysql 5

  2. #2
    spyderman1 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    34

    Default Re: Issues with the Module Builder

    I have experienced the same problem. Are you using a server that uses CPanel?
    SugarCRM Ecommerce integration Specialist
    http://www.ecarttemplates.com

  3. #3
    jspencer is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Orlando, Fl
    Posts
    85

    Default Re: Issues with the Module Builder

    No, it is a fairly straightforward Linux server running Ubuntu 6.04 and the current apache2/mysql5/php5 versions. I just use mysqladmin and the terminal to make db/file level changes and installed Sugar manually. I am running a fairly basic Sugar CE 5.0a install that was upgraded from a fresh install of 5.0 (I manually imported the data from 4.5.1 to avoid any issues).
    -Jeff

    SugarCRM CE 5.0a - Ubuntu 6.04 - Apache 2 - PHP 5 - Mysql 5

  4. #4
    spyderman1 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    34

    Default Re: Issues with the Module Builder

    My install was CentOS 3.9 using Cpanel. I had major problems with the Module Builder not working. Took 3 fresh installs and messing with permissions to get the builder to work at all. The major problem I am having with the Module builder is with the labels not appearing properly within the subpanels i.e. LBL_XXX_XXXX. I have found I can go in and manually change the name to the correct name.
    SugarCRM Ecommerce integration Specialist
    http://www.ecarttemplates.com

  5. #5
    jspencer is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Orlando, Fl
    Posts
    85

    Default Re: Issues with the Module Builder

    Quick update on my situation - this is definately a bug in the CRM.

    Seems the module builder is incorrectly building the default subpanel files in the custom folders for my custom module, and if you try to fix it in the Studio it totally breaks the subpanel (it breaks both factory and homemade modules).

    My fix was to manually edit the /modules/custommodulename/metadata/subpanels/default.php, then copy the field definitions section of this file into all of the /custom/modules/custommodulename/metadata/subpanels/??modulename??default.php files. While there I created a folder called backup and moved my new files in there just in case a future repair "rebuild relationships" tries to replace this with broken files (which it did every time on my system).
    -Jeff

    SugarCRM CE 5.0a - Ubuntu 6.04 - Apache 2 - PHP 5 - Mysql 5

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

    Default Re: Issues with the Module Builder

    Make sure you report it as a bug at bug.sugarcrm.org.

    Paris

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating new module with module builder...
    By NPayette in forum Developer Help
    Replies: 5
    Last Post: 2009-05-27, 03:51 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
  •