You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Ankush Upadhyay (Jira)" <ji...@apache.org> on 2019/11/23 07:10:00 UTC
[jira] [Commented] (OFBIZ-11283) Number problem cancelling order
item
[ https://issues.apache.org/jira/browse/OFBIZ-11283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980704#comment-16980704 ]
Ankush Upadhyay commented on OFBIZ-11283:
-----------------------------------------
This is happening because *string.number* Built-ins is being used to in quantity input field that also passed to backend.
IMO we should use these Built-ins only for display non-editable fields but not for reported case.
> Number problem cancelling order item
> ------------------------------------
>
> Key: OFBIZ-11283
> URL: https://issues.apache.org/jira/browse/OFBIZ-11283
> Project: OFBiz
> Issue Type: Bug
> Reporter: Ingo Wolfmayr
> Assignee: Ankush Upadhyay
> Priority: Major
>
> If an order item has a quantity greater then 1000, cancelling the order item via the order form in backend does not work.
> In the Demo (trunk) environment: the quantity of 1200 to cancel is displayed as "1,200" in the quantity input field.
> --> an error is displayed
> On my local installation I use a different locale and it is displayed as "1.200".
> --> interprets the dot as a comma and the quantity of 1,2 is cancelled
> To reproduce: go to ofbiz Demo
> Create Order: Order Mgt --> Order Entry --> Sales Order (Customer: DemoCustomer) --> ProductId: GZ-2644, Quantity 1200 --> Finalize order
>
> On order: Edit Items --> click checkbox next to quantity -->cancel selected items
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)