Removing the "estimated delivery date" component from Cart Layout - Order Status causes client-side error

Steps to Reproduce

  1. Navigate to Maintain Items > Create new item.
  2. Give the item a name, add the catalog/category, and click Submit.
  3. On form reload, add several variables and click Save.
  4. Go to Maintain cart layouts > target type: Browser screen > Order Status screen.
  5. In the Components section, uncheck Estimated Delivery Date.
  6. Navigate to Sites > ESS portal, and click View home page. Click Order things and find the new catalog item.


  1. Navigate to Self-Service > Service Catalog, and find the new catalog item.
  2. Click Order now. Scroll to the bottom of the page before the next page loads.
  3. When the checkout screen/order status page loads, there is a client side error:

com.glideapp.servicecatalog_checkout_view_v2.do:246 Uncaught TypeError: Cannot set property 'innerHTML' of null


 In UI Macro "sc_order_status_view_intro_text", move Line 33 

<script> type="text/javascript">addLoadEvent(function(){document.getElementById("delivery
).innerHTML = '${jvar_sc_request.getLongestDueDate()}';});

to Line 59 after the following code

<j:if test="${jvar_sc_delivery_details == 'true'}">
<div style="font-weight:normal; margin:0px 0px 6px 0px; padding:0px;">
<span id="delivery_date" />

Related Problem: PRB647593

Seen In

Fuji Patch 3
Fuji Patch 5

Fixed In

Fuji Patch 9

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-05-08 04:38:02