[ 
https://issues.apache.org/jira/browse/OFBIZ-10689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708230#comment-16708230
 ] 

Jacques Le Roux commented on OFBIZ-10689:
-----------------------------------------

Hi Deepak,

 Currently simpleTypeConvert does not support BigDecimal:
{quote}
 * 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;
{quote}

Also parseBigDecimalForEntity offers more than a simple conversion
{quote}
 * 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
{quote}

> 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
(v7.6.3#76005)

Reply via email to