[ 
https://issues.apache.org/jira/browse/OFBIZ-6652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-6652.
----------------------------------
    Resolution: Fixed

Thanks Oleg,

Your patch is in
trunk r1705004  
R14.12 r1705006
R13.07 r1705007
R12.04 r1705008



> Errors in ProductSummary.groovy
> -------------------------------
>
>                 Key: OFBIZ-6652
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6652
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
> Branch 14.12, Trunk
>            Reporter: Oleg Andreyev
>            Assignee: Jacques Le Roux
>         Attachments: prod_summary_12.diff, prod_summary_13.diff, 
> prod_summary_trunk_14.diff
>
>
> There are a couple of errors in this file. They are not related each to other.
> 1. 12 & 13 use EntityQuery class that is not available in these releases. 
> This cause error in Quick Add screen creating a purchase order.
> 2. In all releases the code in that file try to collect prices for variants. 
> Doing so it use NumberFormat.format() to transform base price into string 
> that is part of an embed JS snippet. In case purchase order this price is 
> rather empty. Using null with formatting method cause error.
> You may see this error in the trunk if you starts PO and and try Browser 
> Categories->Widgets->Small Widgets. This price should appear if you select  
> Select Units of Measure for WG-1111 but currently this does not work.
> I'm not sure these prices make sense for purchase orders but my goal was just 
> fix ugly error message. Solution display N/A if price is not available. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to