Merchandising Fails With java.lang.ClassCastException : atg.adapter.gsa.GSAItem cannot be cast to atg.repository.content.ContentRepositoryItem
Last updated on MARCH 04, 2016
Applies to:Oracle Commerce Merchandising - Version 10.0 and later
Information in this document applies to any platform.
fooBarProperty, which is an item-type of media-internal-text, has been added to the Product item-descriptor. When modifying fooBarProperty within the Flex MerchUI, the end-user experiences the following error...
The Product item-descriptor has been updated to include a property which is an item-type pointing to media-internal-text..
In looking at the repository definition for media-internal-text, it is defined as a ContentRepositoryItem. The ClassCastException is occurring because fooBarProperty(GSAItem) can not be cast to a media-internal-text (ContentRepositoryItem)
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