Results 1 to 2 of 2

Thread: Case Portal for Sugar 3.5.1 now available!

  1. #1
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Case Portal for Sugar 3.5.1 now available!

    Hello all,

    Tonight we released a copy of the Case Portal (com_sugarcases) that's compatible with Sugar 3.5.1. It's available here:

    http://sugarforge.org/frs/?group_id=10

    Thanks,
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

  2. #2
    Hopkins is offline Junior Member
    Join Date
    Nov 2005
    Posts
    1

    Default Re: Case Portal for Sugar 3.5.1 now available!

    Julian,
    Many thanks for the Mambo portal integration. I am using this and encountering an error which appears to be due to the database schema being out of sync.

    The error is:
    Notice: Undefined index: team_id in C:\Program Files\Apache Group\Apache2\htdocs\mambo\components\com_sugarcas es\sugarcases.html.php on line 116

    I have Sugar 3.5.1 installed with patch 3.5.1d
    Mambo 4.5.2

    From what I can tell, the code is looking for team_id and team_name in the accounts table. Using MySQL Admin I can see that neither of these fields exist on the accounts table.

    I have added the following hack patch to overcome the error messages for now:

    === begin code snippet ===
    foreach($columns['selected'] as $column) {
    /* The following 2 if statements are a hack patch to overcome database schema bug - TPH Dec 7, 2005 */
    if (strcmp($column['name'], "Team Id") == 0) continue;
    if (strcmp($column['name'], "Team Name") == 0) continue;
    list($inputWidget,$showme) = $this->_getAppropriateFormfield(
    $tmpData[$column['field']]['type'],
    $column,
    $tmpCase[$column['field']],
    $tmpData[$column['field']]['options']
    );
    if($showme) {
    ?>
    <tr>
    <td style="width: 20%; vertical-align: top;"><?php echo $column['name']; ?></td>
    <td><?php echo $inputWidget ?></td>
    </tr>
    <?php
    }
    }
    === end code snippet ===

    Can you please comment on the cause and possible permanent solution.

    Many thanks,
    Tom Hopkins
    Last edited by Hopkins; 2005-12-07 at 07:08 PM. Reason: update with code snippet

Thread Information

Users Browsing this Thread

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

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
  •