Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034041Retail ModulesWeb POSpublic2016-09-20 18:002016-10-31 10:10
adrianromero 
mario_castello 
urgentmajorhave not tried
closedfixed 
5
 
RR17Q1 
marvintm
No
0034041: [SER QA 1773] Modals dialogs show *Loading* and *No results* simultaneously if the query is slow
All modals dialogs like receipts, customers, etc. show *Loading* and *No results* simultaneously if the query is slow. This happens when the user taps on filter and while the data is loading, the user taps on "X" to clear the filter.


Start Openbravo in debug mode and put a breakpoint in the class PaidReceiptsHeader in order to simulate a very slow data load.

Login in Web POS.
Select the menu option "Receipts" and tap on filter to load all the receipts.
Observe that the breakpoint is reached and the web POS dialog shows "Loading..."
Tap on "X" to clear the filter and observe the two messages appear: *Loading...* and *No results*.

See attached screenshot.
It seems a general problem of all modal dialog because it is a behaviour of the enyo class 'OB.UI.ModalPRScrollableHeader'. IMHO the solution is to disable the buttons to filter and to clear the filter while the data is loading
SER-QA
related to defect 0034440 closed mario_castello [RR16Q4][HighVol] Click several times in Layaways search button and/or in SEARCH search button creates heavy postgres processes 
png Captura de pantalla de 2016-09-20 17:49:36.png (294,030) 2016-09-20 18:02
https://issues.openbravo.com/file_download.php?file_id=9842&type=bug
Issue History
2016-09-20 18:00adrianromeroNew Issue
2016-09-20 18:00adrianromeroAssigned To => Retail
2016-09-20 18:00adrianromeroResolution time => 1475532000
2016-09-20 18:00adrianromeroTriggers an Emergency Pack => No
2016-09-20 18:02adrianromeroTag Attached: SER-QA
2016-09-20 18:02adrianromeroFile Added: Captura de pantalla de 2016-09-20 17:49:36.png
2016-10-12 17:45mario_castelloAssigned ToRetail => mario_castello
2016-10-12 17:45mario_castelloStatusnew => acknowledged
2016-10-12 21:43mario_castelloStatusacknowledged => scheduled
2016-10-28 17:22hgbotCheckin
2016-10-28 17:22hgbotNote Added: 0091003
2016-10-28 17:22hgbotStatusscheduled => resolved
2016-10-28 17:22hgbotResolutionopen => fixed
2016-10-28 17:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a1f6f86e8741da92a47799c5f6a74eb1421947bb [^]
2016-10-28 17:24hgbotCheckin
2016-10-28 17:24hgbotNote Added: 0091004
2016-10-31 10:10marvintmReview Assigned To => marvintm
2016-10-31 10:10marvintmStatusresolved => closed
2016-10-31 10:10marvintmFixed in Version => RR17Q1
2017-01-11 18:33mario_castelloRelationship addedrelated to 0034440

Notes
(0091003)
hgbot   
2016-10-28 17:22   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a1f6f86e8741da92a47799c5f6a74eb1421947bb
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Oct 20 09:08:51 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a1f6f86e8741da92a47799c5f6a74eb1421947bb [^]

Fixed issue 34041: Added function disableFilerButtons to enable/disable the buttons in paid receipt popup

---
M web/org.openbravo.retail.posterminal/js/components/modalpaidreceipts.js
---
(0091004)
hgbot   
2016-10-28 17:24   
Repository: tools/automation/pi-mobile
Changeset: d211dd65681a085cd22da314778ec2b17fa7f1b4
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Oct 27 08:33:59 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/d211dd65681a085cd22da314778ec2b17fa7f1b4 [^]

Related to issue 34041: Replace the testID of the search buttons components and fixed test I31212_SearchWithLimitPref

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