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
- Activate any non-English language, like for example Spanish.
- Navigate the change_request table and filter it with conflict status = Conflict.
- Open any record. An error message appears under conflict, since conflicts are detected.
- Switch language to Spanish. The page content is translated in Spanish, but the error message is not translated.
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:
Conflicts detected, see the Conflicts section below
Related Problem: PRB1238731