Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034417
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminoralways2016-10-26 18:282016-12-16 08:39
ReporterplujanView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR16Q4
StatusclosedFix in branchFixed in SCM revisionaba72683832b
ProjectionnoneETAnoneTarget VersionRR16Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034417: [RR16Q4] Splitting several many lines results in a poor system performance

DescriptionSplit lines functionality cannot be used to split big amounts, it will take too long to finish and might result in a system's inconsistent state. See steps.
Steps To ReproduceScenario A (expected flow):
Login into the webPOS and create a line for a product.
Click edit and change the quantity to 3.
Click the "split" button and get three lines of one product.
Pay and complete the sales flow.

Scenario B:
Login into the webPOS and create a line for a product.
Click edit and change the quantity to 100.
Click the "split" button and make 100 lines of one item each.
Note that the first line keeps the total amount and the rest of the lines are slowly added for a line-total of 0.00. (Note: in test environment around seven seconds by line, making a total of 700 secs waiting time)
Since it is taking too long, I let it finish while doing some other thing, so I click the New button to create a new order. An exception is shown (see attached screenshot)

Scenario C:
If after scenario B I return to the order, the process has stopped (no new lines were added). If I pay this order, the exception is shown again and the system remains in a greyed-out screen.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034307 closedjorge-garcia [RR16Q4] Splitting several many lines results in a poor system performance 

-  Notes
(0091239)
hgbot (developer)
2016-11-08 15:34

Repository: retail/backports/3.0RR16Q4/pi-mobile
Changeset: 2328a104b3685a11d03550a596040ca1782476a1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:09:03 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/2328a104b3685a11d03550a596040ca1782476a1 [^]

Related to issue 34417: [RR16Q3] Splitting several many lines results in a poor
system performance

Added some new TestIds for Split Lines PopUp.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0091240)
hgbot (developer)
2016-11-08 15:34

Repository: retail/backports/3.0RR16Q4/pi-mobile
Changeset: 056a4b3feb84d76b3a5fab68ff7f6da4230400a7
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:12:52 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/pi-mobile/rev/056a4b3feb84d76b3a5fab68ff7f6da4230400a7 [^]

Verifies issue 34417: [RR16Q3] Splitting several many lines results in a poor
system performance

Added test I34307_PerformanceTestWithSplitOfTwentyLines.

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/splitline/I34307_PerformanceTestWithSplitOfTwentyLines.java
---
(0091243)
hgbot (developer)
2016-11-08 15:35

Repository: retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal
Changeset: aba72683832b26bd5b0959488d6373e926960b00
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:21:17 2016 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/aba72683832b26bd5b0959488d6373e926960b00 [^]

Fixed issue 34417: [RR16Q3] Splitting several many lines results in a poor
system performance

There some change to be mentioned:
* Change the limit of lines that could be created in split lines from 100 to 20.
* Disable New and Delete buttons in Point-Of-Sale window during the adding
of product from split lines.
* Use the functionality of Ob.Dal.usingCache to search the related services of
a product.
* Added a name unique name to the warning message component from the split
lines pop up.

---
M web/org.openbravo.retail.posterminal/js/components/modalsplitlines.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0092437)
hgbot (developer)
2016-12-16 08:39

Repository: tools/automation/pi-mobile
Changeset: 2328a104b3685a11d03550a596040ca1782476a1
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:09:03 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/2328a104b3685a11d03550a596040ca1782476a1 [^]

Related to issue 34417: [RR16Q3] Splitting several many lines results in a poor
system performance

Added some new TestIds for Split Lines PopUp.

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0092438)
hgbot (developer)
2016-12-16 08:39

Repository: tools/automation/pi-mobile
Changeset: 056a4b3feb84d76b3a5fab68ff7f6da4230400a7
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 08 15:12:52 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/056a4b3feb84d76b3a5fab68ff7f6da4230400a7 [^]

Verifies issue 34417: [RR16Q3] Splitting several many lines results in a poor
system performance

Added test I34307_PerformanceTestWithSplitOfTwentyLines.

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

- Issue History
Date Modified Username Field Change
2016-11-08 10:57 jorge-garcia Type defect => backport
2016-11-08 10:57 jorge-garcia Target Version => RR16Q4
2016-11-08 15:34 hgbot Checkin
2016-11-08 15:34 hgbot Note Added: 0091239
2016-11-08 15:34 hgbot Checkin
2016-11-08 15:34 hgbot Note Added: 0091240
2016-11-08 15:35 hgbot Checkin
2016-11-08 15:35 hgbot Note Added: 0091243
2016-11-08 15:35 hgbot Status scheduled => resolved
2016-11-08 15:35 hgbot Resolution open => fixed
2016-11-08 15:35 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ca6025a511711faf878e589d824792d5ae9cd7aa [^] => http://code.openbravo.com/retail/backports/3.0RR16Q4/org.openbravo.retail.posterminal/rev/aba72683832b26bd5b0959488d6373e926960b00 [^]
2016-11-11 11:39 plujan Summary [RR16Q3] Splitting several many lines results in a poor system performance => [RR16Q4] Splitting several many lines results in a poor system performance
2016-12-09 13:19 marvintm Review Assigned To => marvintm
2016-12-09 13:19 marvintm Status resolved => closed
2016-12-09 13:19 marvintm Fixed in Version => RR16Q4
2016-12-16 08:39 hgbot Checkin
2016-12-16 08:39 hgbot Note Added: 0092437
2016-12-16 08:39 hgbot Checkin
2016-12-16 08:39 hgbot Note Added: 0092438


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker