by Rolustech

Sugar Plugin that bridges the gap between Twilio & Sugar. To establish a connection with your customers, a state-of-the-art Telephony solution for Voice (Inbound and Outbound) and SMS to run your business more efficiently and cost-effectively. Works great with both VoIP and landlines.

Free Trial

By clicking you consent to share your profile with the developer

#4520 - The plugin is overwriting existing field labels

Closed Bug? created by Adi Kurniawan 3 years ago

Hi there,

We've found that the content of custom/Extension/modules/Leads/Ext/Language/en_us.rttelephonylang.php is causing problems with field labels.

$mod_strings = array ( 'LBL_LEAD_SMS_TITLE' => 'SMS', 'LBL_ROLUS_SMS_LOG' => 'Rolus SMS' );

This code overwrites the ENTIRE mod_strings array to ONLY have values for LBL_LEAD_SMS_TITLE and LBL_ROLUS_SMS_LOG.

The correct syntax for customisation is something like the below, i.e ONE line per label.

$mod_strings['LBL_LEAD_SMS_TITLE'] = 'SMS'; $mod_strings['LBL_ROLUS_SMS_LOG'] = 'Rolus SMS';

The labels will disappear randomly based on where in the ./custom/modules/Leads/Ext/Language/en_us.lang.ext.php merges this customisation code. The order of the file merges can change when new customisations are installed, QRRs are executed, etc.

If this bad custom code is at the top of the file, there will be no or limited issues. If it is at the bottom of the file, it wipes out the labels array.

Depending on whether the code is merged after or before, it would break the labels.

The file must have its code updated to the proper syntax for defining labels, or the labels will never work reliably.

Cheers, Adi

  1. rolustech-primary-contact member avatar

    Rolustech Verified Purchase

    3 years ago

    Hi Adi,

    Thank you for sharing your query.

    Please let us look into this and get back to you with a proposed solution/feedback.

    Thank you for your patience in advance.

    Regards, Team Rolustech

  2. rolustech-primary-contact member avatar

    Rolustech Verified Purchase

    3 years ago

    Adi - We really appreciate your work to resolve this issue.

    The latest release is in just the finalization phase and will be ready by next week. We have fixed this code in that release.

    Thank you again for this effort.

    Regards, Team Rolustech.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...