Hi All
I have a CRM instance that was originally deployed as SugarCRM 6.5 CE and I upgraded to SuiteCRM 7.1. I have found that installing modules through the Module Loader is a bit buggy. The labels seem to disappear after installing the package.
The problem only seems to occur in the contacts module. If I change the package manifest to install the field on to the leads module It seems to work fine. Is there some way I can step through and debug why this is happening and fix it? What classes would I be looking into?
# manifest.php
<?php
$manifest = array(
'acceptable_sugar_flavors' => array('CE','PRO','CORP','ENT','ULT'),
'acceptable_sugar_versions' => array(
'exact_matches' => array(),
'regex_matches' => array('[6-7]\\.[0-9]\\.[0-9]'),
),
'author' => 'ACC Limited',
'description' => 'Custom fields',
'icon' => '',
'is_uninstallable' => true,
'name' => 'Custom Fields B',
'published_date' => date('Y-m-d H-i-s'),
'type' => 'module',
'version' => '1.4.5 B',
);
$installdefs = array(
'id' => 'IB4T_MKT_FLDS_B',
'language'=> array (
array(
'from' => '<basepath>/Files/Language/Contacts/en_us.custom.lang.php',
'to_module' => 'Contacts',
'language' => 'en_us'
),
),
'custom_fields' => array (
array(
'name' => 'current_customer_c',
'label' => 'LBL_CURRENT_CUSTOMER2',
'type' => 'bool',
'module' => 'Contacts',
'audited' => true,
'mass_update' => true,
'duplicate_merge' => false,
'reportable' => true,
'importable' => 'true',
),
),
);
?>
# en_us.custom.lang.php
<?php
$mod_strings['LBL_CURRENT_CUSTOMER2'] = 'Current Customer 2';