Bad SQL Generated for an Item Descriptor with a Context Aware Site Membership Property and a Derived Timestamp Property (Doc ID 2050903.1)

Last updated on SEPTEMBER 02, 2015

Applies to:

Oracle Commerce Platform - Version 10.0.3 and later
Information in this document applies to any platform.

Symptoms

Whilst querying an item descriptor that has a site context aware property and a derived timestamp property, the query incorrectly parses the parameters passed in and runs the query with "?" instead of injected parameters.

When loggingDebug is enabled for the repository, logging such as the following can be seen:

 

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