Error When Copying Flex Assets With Negative Values In Float Attributes: "Asset Copy operation failed for the asset: "X". Error Message: You must specify the "..." FLOAT Value as a floating point number. Please try again."

(Doc ID 2388480.1)

Last updated on APRIL 26, 2018

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

When trying to copy a flex asset that has negative value in a float attribute, an error is returned.

 

Replication Steps (using FirstSite II):

1. Create a Content Attribute of type Float and name it "floatContent".

2. Create a Content Definition named "floatTestD" and add "floatContent" as
an optional attribute.

3. Create a new Content Asset named "floatTest00" with the "floatTestD"
definition and fill in the value of "floatContent" with "-5.3".

4. Try to copy this asset.

 

If all float attributes have no value or greater than 0 no error is returned.


The error message is:

sites.log:
[2018-04-12 12:33:49,598 CEST] [ERROR] [http-nio-8443-exec-19] [fatwire.logging.cs.cs] Asset Copy operation failed for the asset: "X". Error Message: You must specify the "..." FLOAT Value as a floating point number. Please try again.

UI:
Cannot copy the asset: You must specify the floatContent Value as a floating point number. Please try again. Asset is not saved. Please make changes and save again. If problem persists please contact system administrator.

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