Notifications

1206 views

Description

g_form.showFieldMsg does not work on the comments and work_notes journal fields in UI16.

Steps to Reproduce

  1. Create an onLoad Client script on the incident table using the following code:

    function onLoad() {
    g_form.showFieldMsg('short_description','Test 1','info');
    g_form.showFieldMsg('comments','Test 2','info');
    }

  2. Open an incident.
    Note that you can only see the message below short_description. You should see blue test messages below the short_description and comments fields.

Workaround

There is no fix available for this issue. Please subscribe to this Known Error article for updates as they become available.

 

The workaround that can be used is to add in the field message all the journal fields at the same time, so both the work notes and the additional comments:

function onLoad() {
g_form.showFieldMsg('short_description','Test 1','info');
g_form.showFieldMsg('comments','Test 2','info');
g_form.showFieldMsg('work_notes','Test 3','info');
}

 

Also, repeating the last showFieldMsg statement in a second line of code works:
function onLoad() {
g_form.showFieldMsg('short_description','Test 1','info');
g_form.showFieldMsg('comments','Test 2','info');
g_form.showFieldMsg('comments','Test 2','info'); //second time as a work around
}

 

The issue does not occur in Fuji or Geneva using UI15.


Related Problem: PRB657186

Seen In

Geneva Patch 1
Geneva Patch 3 Hot Fix 2
Geneva Patch 7
Helsinki Patch 3
Helsinki Patch 5
Helsinki Patch 6

Fixed In

Jakarta
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-10-26 06:57:00
Published:2016-02-29