Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044914Retail ModulesWeb POSpublic2020-08-27 17:392020-09-17 07:59
guillermogil 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR20Q4 
No
0044914: If a popup raises during Refresh scanning does not work
If a popup raises during Refresh scanning does not work.
The main problem is that scanMode is false then the popup raises and puts the originalScanMode as false. As soon as the popup closes it returns to the previous state, false in this case. No scan until a manual action happens.
Ensure you have "Use External Input"

While logged on WebPOS
Click Refesh data
And force on the console the popup with the following: OB.UTIL.showConfirmation.display('test')

You will notice that scanner stops working when the popup gets closed

Popup can be raised on hooks or lots of places although it is quick to force it manually.
We've noticed sometimes with Nexo Login Fail Popup although it is a problem on the structure of the scanningFocus and originalScanMode

See the following video:
https://drive.google.com/file/d/1A7n2h6v-jCXtIVyO8L6DDEXJGZOXnWGQ/view?usp=sharing [^]
originalScanMode needs to be smarter as it does not makes sense to set a scanMode = false in case we are on POS/SCO on the standard page with no popup opened.
No tags attached.
Issue History
2020-08-27 17:39guillermogilNew Issue
2020-08-27 17:39guillermogilAssigned To => Retail
2020-08-27 17:39guillermogilRegression date => 2020-09-14
2020-08-27 17:39guillermogilTriggers an Emergency Pack => No
2020-08-27 17:43guillermogilSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21568#r21568
2020-08-27 17:43guillermogilRelationship addedhas duplicate 0044908
2020-08-27 17:45guillermogilResolution time => 1600034400
2020-08-27 17:45guillermogilRegression date2020-09-14 =>
2020-09-11 07:32ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-09-14 06:46ranjith_qualiantech_comStatusnew => scheduled
2020-09-16 06:06hgbotNote Added: 0123080
2020-09-17 07:59hgbotResolutionopen => fixed
2020-09-17 07:59hgbotStatusscheduled => closed
2020-09-17 07:59hgbotFixed in Version => RR20Q4
2020-09-17 07:59hgbotNote Added: 0123124
2020-09-17 07:59hgbotNote Added: 0123125

Notes
(0123080)
hgbot   
2020-09-16 06:06   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/69 [^]
(0123124)
hgbot   
2020-09-17 07:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 28855e3feecf2ecaf13e7f97af4bddf0e6bd558e
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2020-09-16T09:35:57+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/28855e3feecf2ecaf13e7f97af4bddf0e6bd558e [^]

Fixed ISSUE-44914: Original Scanmode should be updated when terminal is ready
* If any popup opens before terminal is ready, originalScanMode is updated with terminal scanMode since viewScanMode will not be defined

---
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0123125)
hgbot   
2020-09-17 07:59   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/69 [^]