310 views

Description

g_form.isVisible does not work  for a field on a hidden section

Steps to Reproduce

 

Steps to Reproduce:
1. Create a new section on the incident form "Testing". Add any field which is currently not in the form to the new section. ( Here added "Due Date"
2. Create a onLoad client script to hide a section on load as below :
Name : Hide section incident form
Table : Incident
Type : onLoad
Script :
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setSectionDisplay('testing', false);
}
3. Created a automated test "Testing field Visibility" with below steps :
Step 1 : Open an incident form
Step 2 : Field State validation : Check field "Due date" is not visible.
Expected : The test should pass as the field "Due date" is in a section which is hidden, so technically the field is not visible.
Actual : The test fails saying that the field "Due date" is visible.

Workaround

Currently, there is no workaround. To receive notifications if and when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article.


Related Problem: PRB1106974

Seen In

Jakarta

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-06-19 21:46:49
Published:2017-11-17