Notifications

25 views

Description

Messages for the field status = Conflict on Change Requests are sometimes displayed in the wrong language. The issue is reproducible when the same user accesses the same record in different language sessions. The second time the user views the record, it may show the message in the original language the record was when accessed the first time. The message is generated by the Client Script 'Notify Conflict' ( /sys_script_client.do?sys_id=045d52eac0a8ce010021b01edfc8fb98 ).

Steps to Reproduce

 

  1. Activate any non-English language, like for example Spanish.
  2. Navigate the change_request table and filter it with conflict status = Conflict.
  3. Open any record. An error message appears under conflict, since conflicts are detected.
  4. Switch language to Spanish. The page content is translated in Spanish, but the error message is not translated.

Workaround

This problem is fixed in all currently supported versions. Please review the Fixed In section to determine the latest available patch your instance can be upgraded to.

A temporary workaround on older releases was to perform a cache.do. A more stable workaround was to modify the Client Script to not set the Message field for translated messages, using GwtMessage rather than just getMessage. For example:

Message: 

Conflicts detected, see the Conflicts section below

Client Script:

function onLoad() {
if (g_form.getValue('conflict_status') == 'Conflict')
g_form.showErrorBox('conflict_status', new GwtMessage().getMessage("Conflicts detected, see the Conflicts section below"));
}

Related Problem: PRB1238731

Seen In

Jakarta Patch 7

Fixed In

Jakarta Patch 9
Kingston Patch 4
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-28 03:03:25
Published:2019-05-28