Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041477Retail ModulesWeb POSpublic2019-07-29 19:552019-08-01 09:23
guillermogil 
marvintm 
normalmajoralways
closedfixed 
5
 
RR19Q4 
guilleaer
No
0041477: If you navigate to the same window were you are scan stops working
If you navigate to the same window were you are scan stops working.
It may happen the same every time you navigate to defaultwindow staying already on default.

The first action of a navigate is to remove the keyreceivers and whouse are only created on the initComponents function.
If you stop the navigation then it will not regenerate them.
Login on webpos
open the console and execute: OB.POS.navigate('retail.pointofsale')
You will notice scan stopped working
One solution could be to Refresh always after a navigate even if we are still on the same one.
No tags attached.
has duplicate defect 0043401 closed Retail Cash management action causes barcode scan to crash 
diff issue41477.diff (633) 2019-07-30 10:36
https://issues.openbravo.com/file_download.php?file_id=13181&type=bug
Issue History
2019-07-29 19:55guillermogilNew Issue
2019-07-29 19:55guillermogilAssigned To => Retail
2019-07-29 19:55guillermogilResolution time => 1565301600
2019-07-29 19:55guillermogilTriggers an Emergency Pack => No
2019-07-29 20:05guillermogilDescription Updatedbug_revision_view_page.php?rev_id=19214#r19214
2019-07-29 20:05guillermogilProposed Solution updated
2019-07-30 10:36marvintmFile Added: issue41477.diff
2019-08-01 08:31hgbotCheckin
2019-08-01 08:31hgbotNote Added: 0113746
2019-08-01 08:31hgbotStatusnew => resolved
2019-08-01 08:31hgbotResolutionopen => fixed
2019-08-01 08:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b41b7a9a785e6505f0c3907a813252253296c9c6 [^]
2019-08-01 08:36marvintmAssigned ToRetail => marvintm
2019-08-01 09:23guilleaerReview Assigned To => guilleaer
2019-08-01 09:23guilleaerStatusresolved => closed
2019-08-01 09:23guilleaerFixed in Version => RR19Q4
2020-07-15 11:30guillermogilRelationship addedhas duplicate 0043401

Notes
(0113746)
hgbot   
2019-08-01 08:31   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b41b7a9a785e6505f0c3907a813252253296c9c6
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Jul 30 10:53:46 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b41b7a9a785e6505f0c3907a813252253296c9c6 [^]

Fixed issue 41477. Do not navigate if route is the same.
This prevents problems with scanning functionality, and other unintended consequences of forcing the navigation to the same window, which is always unnecessary.

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---