Contacts Mass Update

Hi again,

Mass update in contacts shows the field LBL_PORTAL_ACCOUNT_DISABLED instead od the value

Best Regards

DE

Have you run a Quick Repair & Rebuild and re-checked?

May be a bug.

Hi again,

Also here i have done all these, even before i post the topic.

Furthermore you have the same even at your demo instance.

Best

DE

I can confirm I have this in my build too. The problem appears to be that LBL_PORTAL_ACCOUNT_DISABLED is used as a field for mass update, but the label is never declared anywhere else;

grep -rnw '.' -e "LBL_ALTERNATE_ADDRESS"
(snip)
./modules/Contacts/metadata/detailviewdefs.php:144:            'label' => 'LBL_ALTERNATE_ADDRESS',
./custom/modules/Leads/metadata/detailviewdefs.php:138:              'label' => 'LBL_ALTERNATE_ADDRESS',
./custom/modules/Contacts/metadata/detailviewdefs.php:212:              'label' => 'LBL_ALTERNATE_ADDRESS',
grep -rnw '.' -e "LBL_PORTAL_ACCOUNT_DISABLED"
./custom/Extension/modules/Contacts/Ext/Vardefs/contacts_aop_case_updates.php:53:    'vname' => 'LBL_PORTAL_ACCOUNT_DISABLED',

The difficulty is I’m not sure which viewdef file it should be added to for the mass update function.

Ok, found it.

$mod_strings['LBL_PORTAL_ACCOUNT_DISABLED'] = "Account Disabled";

needs to be added to:

./custom/Extension/modules/Contacts/Ext/Language/en_us.customaop_case_updates_contacts.php

and then a repair and rebuild. This may need adding to all the language packs. ‘Account Disabled’ is my best guess at a string for what this field is meant to represent. I’ll chuck this change in git and add a bug for the other language packs to be looked at.

Update: the language packs will need looking at:

grep -rnw './custom/Extension/modules/Contacts/Ext/Language/' -e "LBL_PORTAL_ACCOUNT_DISABLED"
./custom/Extension/modules/Contacts/Ext/Language/en_us.customaop_case_updates_contacts.php:36:$mod_strings['LBL_PORTAL_ACCOUNT_DISABLED'] = "Account Disabled";

Update 2: Pull request 185 and bug 186 added.

1 Like