Interim fix JR54611 ensures that exceptions that are thrown from REST requests are
propagated to the calling JSP files and are reflected in the storefront.
To disable this behavior and revert to the previous behavior where exceptions were not displayed,
you need to change the RESTinLocalRemoteBindingExceptionsEnabled
toggle to
"false".
Procedure
-
In your WebSphere Commerce Developer environment, open the
WCDE_installdir/workspace/WC/xml/config/com.ibm.commerce.foundation-ext/wc-component.xml
custom configuration file.
-
Change or add the
RESTinLocalRemoteBindingExceptionsEnabled
value to
false.
For example, change
<_config:configgrouping name="REST_LocalBinding">
<_config:property name="RESTinLocalRemoteBindingExceptionsEnabled" value="true"/>
</_config:configgrouping>
to
<_config:configgrouping name="REST_LocalBinding">
<_config:property name="RESTinLocalRemoteBindingExceptionsEnabled" value="false"/>
</_config:configgrouping>
-
Save and close the custom configuration file.
-
Test your configuration changes.
-
Deploy the customized file to the production environment.