Attempt To Add An Item To The Repository Without Specifying A Value For Each Required Property

(Doc ID 2340696.1)

Last updated on DECEMBER 19, 2017

Applies to:

Oracle Commerce Merchandising - Version 11.2 and later
Information in this document applies to any platform.

Symptoms

After changes made to XML templates that change a required transient property to a required persistent property, errors occur when attempting to save changes to existing items.

Changes

 There are two item descriptors defined in a repository: The super type and the sub type. The super type has a property (e.g. "displayName") which is inherited by the sub type. Originally this property is defined in the sub type as transient, but then a change is made to make to remove the overridden definition of this property from the sub type and to rely upon the original definition of the property that still exists in the super type: the property is mapped to a database column and is marked as required="true". With this revised configration in place, an error is logged when attempting to save an existing item belonging to the sub type.

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