Notifications

576 views

Description

Back to Catalog and Continue Shopping buttons are not working on the "com.glideapp.servicecatalog_checkout_view" UI page.

Steps to Reproduce 

  1. Navigate to "com.glideapp.servicecatalog_checkout_view" UI page and enable the Back to Catalog and Continue Shopping buttons:
    1. Search for this line: <j2:if test="$[!GlideTransaction.get().isVirtual()]">
    2. Replace it with the following: <j2:if test="$[!GlideTransaction.get().isVirtual() || SNC.CatalogCMS.isCMSSite()]">
  2. Navigate to My Orders iFrame (which is called from the order_status content page):
    /nav_to.do?uri=content_block_iframe.do?sys_id=6fc9b0d90a00072214859a52531e3e58
  3. Replace the URL:
    From: sc_req_item_list.do?sysparm_query=request.requested_for=javascript:gs.getUserID()^active=true^EQ&sysparm_view=ess
    To: sc_request_list.do?sysparm_query=requested_for=javascript:gs.getUserID()^active=true^EQ&sysparm_view=ess
  4. Navigate to CMS (for example, https://<instance>.service-now.com/ess).
  5. Go to Account Settings > Open Orders. Select any request.
  6. Note that nothing happens when attempting to click the Back to Catalog or Continue Shopping buttons:



  7. Note that the Warning log shows this error:
    java.lang.NullPointerException
    Caused by error in Script Include: 'GlideappCatalogURLGenerator' at line 96
    93: return SNC.CatalogURLGenerator.getBrowsingContextCategorySysID();
    94: }
    95: GlideappCatalogURLGenerator.getContinueShoppingUrl = function(catalogID, catalogView) {
    ==> 96: return SNC.CatalogURLGenerator.getContinueShoppingUrl(catalogID, catalogView);
    97: }

Workaround

This issue is caused by a customization that is not supported by ServiceNow.


Related Problem: PRB631629

Seen In

Eureka Patch 10
Fuji Patch 5

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2015-10-22 11:17:04
Published:2015-10-22