Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034419Retail ModulesWeb POSpublic2016-10-27 12:422016-12-16 08:40
plujan 
jorge-garcia 
normaltrivialhave not tried
closedfixed 
5
main 
RR16Q4RR16Q4 
marvintm
No
0034419: [RR16Q4] Not a number message is shown in Split lines pop up
When splitting lines, if a quantity for a line is left blank, a NaN message is shown in both header fields "Split Quantity" and "Difference". See steps.
1. Create a ticket and add a product with a quantity of two or more
2. Edit the line and click "split" button
3. The split lines pop up shows up. By default it suggests to split in two lines.
4. Go to line 1 quantity and select the value by tapping it.
5. Open the keyboard and type a letter. Note the letter is erased, leaving the field blank.
6. Go to line 2 quantity. Note the NaN fields as shown in attached screenshot.
No tags attached.
blocks defect 0034314 closed jorge-garcia [RR16Q4] Not a number message is shown in Split lines pop up 
Issue History
2016-11-08 10:59jorge-garciaTypedefect => backport
2016-11-08 10:59jorge-garciaTarget Version => RR16Q4
2016-11-08 15:34hgbotCheckin
2016-11-08 15:34hgbotNote Added: 0091241
2016-11-08 15:35hgbotCheckin
2016-11-08 15:35hgbotNote Added: 0091244
2016-11-08 15:35hgbotStatusscheduled => resolved
2016-11-08 15:35hgbotResolutionopen => fixed
2016-11-08 15:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/df58608d3753c5e0590655215b3f5dc9916e739b [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/b8386fb1da6eb3d93ad490b1833e7cfbcae6bdbb [^]
2016-11-11 11:39plujanSummary[RR16Q3] Not a number message is shown in Split lines pop up => [RR16Q4] Not a number message is shown in Split lines pop up
2016-12-09 13:20marvintmReview Assigned To => marvintm
2016-12-09 13:20marvintmStatusresolved => closed
2016-12-09 13:20marvintmFixed in Version => RR16Q4
2016-12-16 08:40hgbotCheckin
2016-12-16 08:40hgbotNote Added: 0092439

Notes
(0091241)
hgbot   
2016-11-08 15:34   
Repository: retail/backports/3.0RR16Q4/pi-mobile
Changeset: 35060a4203bc9aa182acbee450b216eff9e99c5c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:15:45 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/35060a4203bc9aa182acbee450b216eff9e99c5c [^]

Verifies issue 34419: [RR16Q3] Not a number message is shown in Split lines
pop up

Added test I34314_ProblemWithNonNumericValues.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/splitline/I34314_ProblemWithNonNumericValues.java
---
(0091244)
hgbot   
2016-11-08 15:35   
Repository: retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal
Changeset: b8386fb1da6eb3d93ad490b1833e7cfbcae6bdbb
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:24:21 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/b8386fb1da6eb3d93ad490b1833e7cfbcae6bdbb [^]

Fixed issue 34419: [RR16Q3] Not a number message is shown in Split lines
pop up

Fix the NaN problem when the user enters a character in the qty of a line..

---
M web/org.openbravo.retail.posterminal/js/components/modalsplitlines.js
---
(0092439)
hgbot   
2016-12-16 08:40   
Repository: tools/automation/pi-mobile
Changeset: 35060a4203bc9aa182acbee450b216eff9e99c5c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:15:45 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/35060a4203bc9aa182acbee450b216eff9e99c5c [^]

Verifies issue 34419: [RR16Q3] Not a number message is shown in Split lines
pop up

Added test I34314_ProblemWithNonNumericValues.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/splitline/I34314_ProblemWithNonNumericValues.java
---