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

Last updated on APRIL 17, 2017

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:xApplicantId='}#{'\''}#{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:xApplicantId='}#{'''}#{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

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