<h2>Back to Catalog and Continue Shopping buttons not working on "com.glideapp.servicecatalog_checkout_view" UI Page</h2><br/><div style="overflow-x:auto"><h2>Description</h2> <div>Back to Catalog and Continue Shopping buttons are not working on the "com.glideapp.servicecatalog_checkout_view" UI page.</div> <h2>Steps to Reproduce </h2> <div> <ol> <li>Navigate to "com.glideapp.servicecatalog_checkout_view" UI page and enable the <strong>Back to Catalog</strong> and <strong>Continue Shopping</strong> buttons: <ol type="a"> <li>Search for this line: <font face="courier new,courier"><j2:if test="$[!GlideTransaction.get().isVirtual()]"></font></li> <li>Replace it with the following: <font face="courier new,courier"><j2:if test="$[!GlideTransaction.get().isVirtual() || SNC.CatalogCMS.isCMSSite()]"></font></li> </ol> </li> <li>Navigate to My Orders iFrame (which is called from the order_status content page):<br /><em>/nav_to.do?uri=content_block_iframe.do?sys_id=6fc9b0d90a00072214859a52531e3e58</em></li> <li>Replace the URL:<br />From: <em>sc_req_item_list.do?sysparm_query=request.requested_for=javascript:gs.getUserID()^active=true^EQ&sysparm_view=ess</em><br />To: <em>sc_request_list.do?sysparm_query=requested_for=javascript:gs.getUserID()^active=true^EQ&sysparm_view=ess</em></li> <li>Navigate to CMS (for example, https://<instance>.service-now.com/ess).</li> <li>Go to <strong>Account Settings > Open Orders. </strong>Select any request.</li> <li>Note that nothing happens when attempting to click the Back to Catalog or Continue Shopping buttons:<br /><br /><img style="align: baseline;" title="" src="/sys_attachment.do?sys_id=74d557c46f1bc6002c9f8e4c2c3ee4c5" alt="" width="561" height="216" align="baseline" border="" hspace="" vspace="" /><br /><br /></li> <li>Note that the Warning log shows this error: <br /><font face="courier new,courier">java.lang.NullPointerException </font><br /><font face="courier new,courier">Caused by error in Script Include: 'GlideappCatalogURLGenerator' at line 96</font><br /><font face="courier new,courier">93: return SNC.CatalogURLGenerator.getBrowsingContextCategorySysID(); </font><br /><font face="courier new,courier">94: } </font><br /><font face="courier new,courier">95: GlideappCatalogURLGenerator.getContinueShoppingUrl = function(catalogID, catalogView) { </font><br /><font face="courier new,courier">==> 96: return SNC.CatalogURLGenerator.getContinueShoppingUrl(catalogID, catalogView); </font><br /><font face="courier new,courier">97: }</font></li> </ol> </div> <h2>Workaround</h2> <div> <p class="p1">This issue is caused by a customization that is not supported by ServiceNow.</p> </div> <div><br /><strong>Related Problem: PRB631629</strong></div></div>