My Oracle Support Banner

Unnecessary Widget Is Being Referenced And Script Error Being Thrown In Preview. (Doc ID 2281701.1)

Last updated on FEBRUARY 06, 2019

Applies to:

Oracle Commerce Cloud Service - Version N/A to N/A
Information in this document applies to any platform.

Symptoms

On :  NA version, Store Administration

ACTUAL BEHAVIOR  
---------------
The unnecessary widget is being referenced and script error being thrown in the preview.  

Tried to export and import the same zip file into the test environment had resulted in the loss of usage of the preview service throwing a script error for a js file which was never created in a widget which was never used.

EXPECTED BEHAVIOR
-----------------------
The unnecessary widget shouldn't refer when script error being thrown in the preview.  

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Export the widgets
2) Try to import using the zip file created
3) Hit Preview after a successful import.


Changes

 When tried to use global widget "<CUSTOM>GlobalRequest" to introduce common/library code for own widgets, but this is not a recommend approach

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.