Notifications

26 views

Description

When the Header Menu widget is cloned under a scoped application, it generates the error:

"Server JavaScript error The undefined value has no properties".

Steps to Reproduce

1. Open Service Portal in a pre-Madrid instance
2. Open the "Header Menu" widget /sp_widget.do?sys_id=5ef595c1cb12020000f8d856634c9c6e
3. Switch to a scoped application
4. Clone the widget
5. Add the cloned widget back to the OOB menu /sp_instance_menu.do?sys_id=d150fd31cb10020000f8d856634c9ce6
6. Have a backup copy of the ngTemplate record in the custom application scope and add it to the widget /sp_ng_template.do?sys_id=1c01e3b05b301200e39fc7ad31f91af7

Observe the Service Portal page loads with the error "Server JavaScript error The undefined value has no properties".

Workaround

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

As a workaround in case your instance can not be upgraded yet, remove or comment out the following line of code:

data.menu.name = gr.name.getDisplayValue();


Related Problem: PRB1282862

Seen In

There is no data to report.

Fixed In

Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-06-20 06:35:21
Published:2019-06-20