You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2010/06/16 17:22:24 UTC

[jira] Issue Comment Edited: (OFBIZ-3821) Using number value with calcop operator does not work as thought

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

Jacques Le Roux edited comment on OFBIZ-3821 at 6/16/10 11:21 AM:
------------------------------------------------------------------

Yes, thanks David! It should be done upstream...

      was (Author: jacques.le.roux):
    Yes, thanks David!
  
> Using number value with calcop operator does not work as thought
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-3821
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3821
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>            Reporter: Jacques Le Roux
>             Fix For: Release Branch 10.04, SVN trunk
>
>         Attachments: Patch_OFBIZ-3821.patch
>
>
> For instance if you use
> {code}
> <calcop operator="multiply" field="parameters.numberSpecified">
>     <number value="${uomConversion.conversionFactor}"/>
> {code}
> and have a value > 1000 in conversionFactor you will get 1,000  for number value. It works well if you replace by
> {code}
> <calcop operator="multiply">
>     <calcop operator="get" field="parameters.numberSpecified"/>
>     <calcop operator="get" field="uomConversion.conversionFactor"/>
> {code}
> The problem exists in trunk and certainly R10.04 (not tested) maybe in previous release though I don't think so, it looks like something introduced with UEL

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.