When g_user.setClientData is "undefined" in Service Portal when used inside a catalog client script. This works fine in the Platform UI.
Below an example of the error:
Issue exists on Paris and earlier versions.
1. Log into any paris instance
2. Define an onload catalog client script on any catalog item to show 'g_user.setClientData' in the alert.
3. Open Catalog Item in Service Portal
4. Notice that an alert is displaying undefined
ServiceNow Technical Support or subscribe to this Known Error article by clicking the Subscribe button at the top right of this form to be notified when more information will become available.