Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035412Retail ModulesWeb POSpublic2016-11-09 09:502017-03-15 14:12
lorenzofidalgo 
mario_castello 
normalmajoralways
closedfixed 
5
main 
RR17Q1RR17Q1 
guilleaer
No
0035412: [RR16Q4][HighVol] Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes
When 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 [^]
0-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.
No tags attached.
blocks defect 0034440 closed mario_castello [RR16Q4][HighVol] Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes 
Issue History
2017-03-02 16:45marvintmTypedefect => backport
2017-03-02 16:45marvintmTarget Version => RR17Q1
2017-03-02 21:19hgbotCheckin
2017-03-02 21:19hgbotNote Added: 0094702
2017-03-02 21:19hgbotStatusscheduled => resolved
2017-03-02 21:19hgbotResolutionopen => fixed
2017-03-02 21:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a2699d1a752d30819f1c4216eb7698e78e6e25c2 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/90f1940fdbae6e0e490e7be58d343a3d585d16aa [^]
2017-03-02 21:20hgbotCheckin
2017-03-02 21:20hgbotNote Added: 0094703
2017-03-02 21:26hgbotCheckin
2017-03-02 21:26hgbotNote Added: 0094705
2017-03-02 21:26hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/90f1940fdbae6e0e490e7be58d343a3d585d16aa [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.retail.posterminal/rev/4a74cb1d7d17a7ce5e95f175e047d28052f09cdc [^]
2017-03-02 21:28hgbotCheckin
2017-03-02 21:28hgbotNote Added: 0094706
2017-03-07 17:13hgbotCheckin
2017-03-07 17:13hgbotNote Added: 0094803
2017-03-07 17:15guilleaerReview Assigned Tomarvintm => guilleaer
2017-03-07 17:15guilleaerStatusresolved => closed
2017-03-07 17:15guilleaerFixed in Version => RR17Q1
2017-03-15 14:12hgbotCheckin
2017-03-15 14:12hgbotNote Added: 0095044
2017-03-15 14:12hgbotCheckin
2017-03-15 14:12hgbotNote Added: 0095045

Notes
(0094702)
hgbot   
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
---
(0094703)
hgbot   
2017-03-02 21:20   
Repository: retail/backports/3.0RR17Q1/pi-mobile
Changeset: ff38cb00de842cc0277017090f4ce2c55354a919
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Jan 11 11:14:18 2017 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/pi-mobile/rev/ff38cb00de842cc0277017090f4ce2c55354a919 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0094705)
hgbot   
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
---
(0094706)
hgbot   
2017-03-02 21:28   
Repository: retail/backports/3.0RR17Q1/pi-mobile
Changeset: 9c6586e171fd3f540b2ff3b30816992b2ba6d0a5
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Jan 31 10:41:43 2017 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/pi-mobile/rev/9c6586e171fd3f540b2ff3b30816992b2ba6d0a5 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0094803)
hgbot   
2017-03-07 17:13   
Repository: retail/backports/3.0RR17Q1/org.openbravo.mobile.core
Changeset: a07cb88f9b88db9216d761d1c963177d4561bd99
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Tue Mar 07 10:09:15 2017 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1/org.openbravo.mobile.core/rev/a07cb88f9b88db9216d761d1c963177d4561bd99 [^]

Verifies issue 35412: Delete unused fuction disableFilterText

---
M web/org.openbravo.mobile.core/source/retail/component/ob-retail-searchproductcharacteristic.js
---
(0095044)
hgbot   
2017-03-15 14:12   
Repository: tools/automation/pi-mobile
Changeset: ff38cb00de842cc0277017090f4ce2c55354a919
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/ff38cb00de842cc0277017090f4ce2c55354a919 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---
(0095045)
hgbot   
2017-03-15 14:12   
Repository: tools/automation/pi-mobile
Changeset: 9c6586e171fd3f540b2ff3b30816992b2ba6d0a5
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/9c6586e171fd3f540b2ff3b30816992b2ba6d0a5 [^]

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

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
---