Last updated on AUGUST 04, 2017
Applies to:Oracle WebCenter Sites - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
For customizing OpenMarket/Xcelerate/AssetType/Page/CheckDelete.xml element to check if some related assets are used somewhere before deleting a page, following code snippet was added.
On deleting the the page , following error messages are seen in logs
[ERROR] [oracle.wcsites.jsp] Failure executing JSPCustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckLinkForDeletion Exception calling include: page:/jsp/cs_deployed/CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckLinkForDeletion.jsp[[
java.lang.Exception tossed:include() called on an instance of FakeIRequest
[ERROR] [oracle.wcsites] Unable to evaluate element CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckLinkForDeletion
[ERROR] [oracle.wcsites.xml] Failed to run template:CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckDelete
[ERROR] [oracle.wcsites] Unable to evaluate element CustomElements/OpenMarket/Xcelerate/AssetType/Page/CheckDelete
[ERROR] [oracle.wcsites.cs] Page:1446394984048 - com.fatwire.services.exception.ServiceException: com.fatwire.services.exception.TagsException: null Errno :-12
Is it possible to call JSP element from CheckDelete.xml ?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms