Jacques Le Roux commented on OFBIZ-10689:

Hi Deepak,

 Currently simpleTypeConvert does not support BigDecimal:
 * Converts the passed object to the named simple type.  Supported types
 * include: String, Boolean, Double, Float, Long, Integer, Date (java.sql.Date),
 * Time, Timestamp, TimeZone;

Also parseBigDecimalForEntity offers more than a simple conversion
 * Return nulls for empty strings, as the entity engine can deal with nulls. 
This will provide blanks
 * in fields where BigDecimal display. Blank meaning null, vs. 0 which means 0

> function parseBigDecimalForEntity is in wrong location
> ------------------------------------------------------
>                 Key: OFBIZ-10689
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10689
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework, product
>    Affects Versions: Trunk, Release Branch 15.12, Release Branch 16.11, 
> Release Branch 17.12
>            Reporter: Pierre Smits
>            Priority: Major
> Currently the function 'parseBigDecimalForEntity' is located in 
> ProductEvents.java. 
> Given that this function applies to more than just products, this function 
> should be located in the framework stack.

This message was sent by Atlassian JIRA

Reply via email to