ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankush Upadhyay (Jira)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-11283) Number problem cancelling order item
Date Sat, 23 Nov 2019 07:15:00 GMT

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

Ankush Upadhyay edited comment on OFBIZ-11283 at 11/23/19 7:14 AM:
-------------------------------------------------------------------

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.

Attaching page by removing this build in that converts actual value.

Community inputs are welcome if we think we should display value with existing format.


was (Author: ankush.upadhyay):
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
>         Attachments: OFBIZ-11283.patch
>
>
> 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)

Mime
View raw message