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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034440
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-11-09 09:502017-03-02 21:26
ReporterlorenzofidalgoView Statuspublic 
Assigned Tomario_castello 
PrioritynormalResolutionfixedFixed in VersionRR17Q2
StatusclosedFix in branchFixed in SCM revisiona2699d1a752d
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034440: [RR16Q4][HighVol] Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes

DescriptionWhen POS user clicks in the magnifier button (search) from areas like SEARCH or Layaways, it creates several heavy processes that take very long time to finish (or they just do not finish). It induces the POS gets stuck.
This issue has been reproduced in a RR16Q4 release with Store Server and HighVol. This behaviour can been appreciated in the following video: https://drive.google.com/open?id=0Bz1bUfkEffVISURjYm5DbEV6NkU [^]
Steps To Reproduce0-Log in to the server machine and use "top" command to control the CPU usage of the server machine.
1-Go to SEARCH tab and click several times (e.g. 6 times) in Search button. Now go to dropdown menu, select Layaways option and click several times (e.g. 6 times) in search button. It will get stuck. You can go again to SEARCH tab and click again in search button. Check it is stuck and no results are shown.
3-Check the usage of the server machine (step 0): Many postgres processes that will not finish have been created. Even after login out those processes are still there. You can eve wait some time after executing this queries and check those postgres processes are still running.
TagsPerformance
Attached Filespng file icon HeavyPostgresProcessesTop.png [^] (148,487 bytes) 2016-11-09 09:50

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034041 closedmario_castello [SER QA 1773] Modals dialogs show *Loading* and *No results* simultaneously if the query is slow 
depends on backport 0035412RR17Q1 closedmario_castello [RR16Q4][HighVol] Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes 
has duplicate design defect 0032099 closedSandrahuguet [RR16Q1] It is possible to jam the search of products clicking in the magnifier. It should be disabled while POS is searching 
related to defect 0035624 closedmario_castello Refactor some code in mobile.core and posterminal modules 
related to defect 0035646 closedmario_castello Click several times in Gift cards selector is allowed in hgvol 

-  Notes
(0093375)
hgbot (developer)
2017-01-11 22:14

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 022f718665ebf2066eb684e6707e6191e72b8e9c
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Jan 11 11:16:35 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/022f718665ebf2066eb684e6707e6191e72b8e9c [^]

Fixed issue 34440: Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes

- Added new function disableFilterButtons to disable the filters buttons
- Added name for filters buttons
- Call the function in the search process for disabled/enabled the filters buttons during the execution process

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0093376)
hgbot (developer)
2017-01-12 09:08

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8bd8db795fa59aeb1cb73218a0cf3441cbf1b185
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jan 12 08:52:35 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8bd8db795fa59aeb1cb73218a0cf3441cbf1b185 [^]

Related to issue 34440: Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes

Backed out changeset 022f718665eb

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0093389)
jorge-garcia (reporter)
2017-01-12 13:14

Critical error in the integration of try-retail. Backout done
(0093592)
hgbot (developer)
2017-01-16 14:40

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 930ff2f4e112e0965c9c95b935dce93a277e121d
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Jan 11 11:16:35 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/930ff2f4e112e0965c9c95b935dce93a277e121d [^]

Fixed issue 34440: Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes

- Added new function disableFilterButtons to disable the filters buttons
- Added name for filters buttons
- Call the function in the search process for disabled/enabled the filters buttons during the execution process

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0093593)
hgbot (developer)
2017-01-16 14:40

Repository: tools/automation/pi-mobile
Changeset: f818ac500fca04409b0f4fd8a91b2a7fe01e603e
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Jan 11 11:14:18 2017 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f818ac500fca04409b0f4fd8a91b2a7fe01e603e [^]

Verifies issue 34440: Fixed names of filters buttons in search panel

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0093960)
lorenzofidalgo (developer)
2017-01-31 15:35

This issue is still reproducible using the "Pay Open Tickets" search button.
(0094086)
hgbot (developer)
2017-02-06 14:35

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a2699d1a752d30819f1c4216eb7698e78e6e25c2
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 31 10:28:50 2017 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a2699d1a752d30819f1c4216eb7698e78e6e25c2 [^]

Fixed issue 34440: Click several times in Pay Open Tickets search button creates heavy postgres processes

- Pay Open Tickets popup
- Added new function disableFilterButtons to disable the filters buttons
- Added name for filters buttons
- Call the function in the search process for disabled/enabled the filters buttons during the execution process

---
M web/org.openbravo.retail.posterminal/js/components/modalmultiorders.js
---
(0094087)
hgbot (developer)
2017-02-06 14:36

Repository: tools/automation/pi-mobile
Changeset: 7cc3283e1ce34453d150cbb6f000ff346d460dd0
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 31 10:41:43 2017 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7cc3283e1ce34453d150cbb6f000ff346d460dd0 [^]

Verifies issue 34440: Fixed names of filters buttons in Pay Open Tickets popup

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0094701)
hgbot (developer)
2017-03-02 21:19

Repository: retail/backports/3.0RR17Q1/org.openbravo.mobile.core
Changeset: 90f1940fdbae6e0e490e7be58d343a3d585d16aa
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Jan 11 11:16:35 2017 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/90f1940fdbae6e0e490e7be58d343a3d585d16aa [^]

Fixed issue 35412, backport of issue 34440: Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes

- Added new function disableFilterButtons to disable the filters buttons
- Added name for filters buttons
- Call the function in the search process for disabled/enabled the filters buttons during the execution process

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0094704)
hgbot (developer)
2017-03-02 21:26

Repository: retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal
Changeset: 4a74cb1d7d17a7ce5e95f175e047d28052f09cdc
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 31 10:28:50 2017 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/4a74cb1d7d17a7ce5e95f175e047d28052f09cdc [^]

Fixed issue 35412, backport of issue 34440: Click several times in Pay Open Tickets search button creates heavy postgres processes

- Pay Open Tickets popup
- Added new function disableFilterButtons to disable the filters buttons
- Added name for filters buttons
- Call the function in the search process for disabled/enabled the filters buttons during the execution process

---
M web/org.openbravo.retail.posterminal/js/components/modalmultiorders.js
---

- Issue History
Date Modified Username Field Change
2016-11-09 09:50 lorenzofidalgo New Issue
2016-11-09 09:50 lorenzofidalgo Assigned To => Retail
2016-11-09 09:50 lorenzofidalgo File Added: HeavyPostgresProcessesTop.png
2016-11-09 09:50 lorenzofidalgo Triggers an Emergency Pack => No
2016-11-09 09:53 lorenzofidalgo Description Updated View Revisions
2016-11-09 10:01 lorenzofidalgo Priority high => normal
2016-11-09 10:33 lorenzofidalgo Summary [RR16Q4][HighVol] Click several times in Layaways search button and/or in Browse search button creates heavy postgres processes => [RR16Q4][HighVol] Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes
2016-11-09 10:33 lorenzofidalgo Description Updated View Revisions
2016-11-09 10:33 lorenzofidalgo Steps to Reproduce Updated View Revisions
2017-01-11 16:02 mario_castello Assigned To Retail => mario_castello
2017-01-11 16:03 mario_castello Status new => acknowledged
2017-01-11 18:13 mario_castello Status acknowledged => scheduled
2017-01-11 18:33 mario_castello Relationship added related to 0034041
2017-01-11 22:14 hgbot Checkin
2017-01-11 22:14 hgbot Note Added: 0093375
2017-01-11 22:14 hgbot Status scheduled => resolved
2017-01-11 22:14 hgbot Resolution open => fixed
2017-01-11 22:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/022f718665ebf2066eb684e6707e6191e72b8e9c [^]
2017-01-12 09:08 hgbot Checkin
2017-01-12 09:08 hgbot Note Added: 0093376
2017-01-12 13:14 jorge-garcia Note Added: 0093389
2017-01-12 13:14 jorge-garcia Status resolved => new
2017-01-12 13:14 jorge-garcia Resolution fixed => open
2017-01-12 14:37 mario_castello Status new => acknowledged
2017-01-12 14:38 mario_castello Status acknowledged => scheduled
2017-01-16 14:40 hgbot Checkin
2017-01-16 14:40 hgbot Note Added: 0093592
2017-01-16 14:40 hgbot Status scheduled => resolved
2017-01-16 14:40 hgbot Resolution open => fixed
2017-01-16 14:40 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/022f718665ebf2066eb684e6707e6191e72b8e9c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/930ff2f4e112e0965c9c95b935dce93a277e121d [^]
2017-01-16 14:40 hgbot Checkin
2017-01-16 14:40 hgbot Note Added: 0093593
2017-01-25 10:20 marvintm Review Assigned To => marvintm
2017-01-25 10:20 marvintm Status resolved => closed
2017-01-25 10:20 marvintm Fixed in Version => RR17Q2
2017-01-31 15:35 lorenzofidalgo Note Added: 0093960
2017-01-31 15:35 lorenzofidalgo Status closed => new
2017-01-31 15:35 lorenzofidalgo Resolution fixed => open
2017-01-31 15:35 lorenzofidalgo Fixed in Version RR17Q2 =>
2017-01-31 15:51 mario_castello Status new => acknowledged
2017-01-31 15:51 mario_castello Status acknowledged => scheduled
2017-02-06 14:35 hgbot Checkin
2017-02-06 14:35 hgbot Note Added: 0094086
2017-02-06 14:35 hgbot Status scheduled => resolved
2017-02-06 14:35 hgbot Resolution open => fixed
2017-02-06 14:35 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/930ff2f4e112e0965c9c95b935dce93a277e121d [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a2699d1a752d30819f1c4216eb7698e78e6e25c2 [^]
2017-02-06 14:36 hgbot Checkin
2017-02-06 14:36 hgbot Note Added: 0094087
2017-02-08 09:28 marvintm Status resolved => closed
2017-02-08 09:28 marvintm Fixed in Version => RR17Q2
2017-03-02 16:41 shuehner Tag Attached: Performance
2017-03-02 16:45 marvintm Status closed => new
2017-03-02 16:45 marvintm Resolution fixed => open
2017-03-02 16:45 marvintm Fixed in Version RR17Q2 =>
2017-03-02 16:45 marvintm Status new => scheduled
2017-03-02 16:45 marvintm Status scheduled => resolved
2017-03-02 16:45 marvintm Fixed in Version => RR17Q2
2017-03-02 16:45 marvintm Resolution open => fixed
2017-03-02 16:45 marvintm Status resolved => closed
2017-03-02 21:19 hgbot Checkin
2017-03-02 21:19 hgbot Note Added: 0094701
2017-03-02 21:26 hgbot Checkin
2017-03-02 21:26 hgbot Note Added: 0094704
2017-03-07 10:35 marvintm Relationship added has duplicate 0032099
2017-03-27 16:46 mario_castello Relationship added related to 0035624
2017-03-31 17:16 mario_castello Relationship added related to 0035646


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker