Cannot Create Certain Assets Because the Subtype Value is Too Large for the Column
(Doc ID 2320884.1)
Last updated on OCTOBER 31, 2017
Applies to:Oracle WebCenter Sites - Version 188.8.131.52.0 to 184.108.40.206.0 [Release FatWire]
Information in this document applies to any platform.
After upgrading from Sites 7.6.2 to 220.127.116.11.0, we are encountering an ORA-12899 error when attempting to create certain assets. Sites appears to be trying to access a column which was null in 7.6.2.
We have an asset called "Asset1" which is stored in a "content_c" table. This table has a "subtype" column which takes varchar2(32) data type. This column was not used (always set to null) in 7.6.2. In both 7.6.2 and 18.104.22.168.0, the information about the subtype of the asset can be found in a different table, "content_cd", where the "flextemplateid" field in "content_c" corresponds to the "id" field in "content_cd." The equivalent to "subtype" in "content_c" is "name" in "content_cd", which takes a varchar2(64) data type.
Now, in 8.0, when the user attempts to create a new Content asset with the subtype "Landing Highlight Content Definition", the following error is thrown:
java.sql.SQLException: ORA-12899: value too large for column "CSUSERTEST"."CONTENT_C"."SUBTYPE" (actual: 36, maximum: 32)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!