My Oracle Support Banner

EL Expression in CMIS Query for Content Presenter is Modified and After Editing Returns: Error Parsing (Doc ID 2255478.1)

Last updated on JUNE 17, 2024

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.4 to 12.2.1.2.0
Information in this document applies to any platform.

Symptoms

When using an EL expression with CMIS query as Content Presenter data Source, the EL expression is altered after saving and recovering.

For example, the following EL expression can be saved and it will display the correct information when saving with "OK' button in content presenter properties:

#{'SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xEmployeeId='}#{'\''}#{webCenterProfile[securityContext.userName].employeeType}#{'\''}

 

When editing the content presenter again, the EL expression will be changed like this:

SELECT * FROM ora:t:IDC:GlobalProfile WHERE ora:p:xEmployeeId='}#{'''}#{webCenterProfile[securityContext.userName].employeeType}#{''

 

Since the EL expression is changed, attempting to save the content presenter again will return the following error:

Error Parsing

 

 

Changes

Edited a Content Presenter Properties which has EL expression with CMIS query and attempting to save without doing any changes.

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.