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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040475
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-03-28 11:202019-04-16 14:02
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision9b726d138932
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040475: RFID is enabled while PopUp is displayed

DescriptionWhen popup is opened in the hook OBPOS_NewReceipt, the popUp is displayed but the RFID is enabled.

The RFID should be disabled always that one popup is displayed.
Steps To Reproduce[BO]
. in touchpoint - type: set "use RFID" flag to true

[POS]
. register one function to hook 'OBPOS_NewReceipt' that it is opening one PopUP:
1- open developers tools
2- add breakpoint in the line:
OB.UTIL.HookManager.executeHooks('OBPOS_NewReceipt',...)
3- refresh browser
4- execution is stopped in breakpoint of step 2
5- register a function for this hook executing below command:

OB.UTIL.HookManager.registerHook('OBPOS_NewReceipt', function(args, callbacks) {OB.UTIL.showConfirmation.display(); OB.UTIL.HookManager.callbackExecutor(args, callbacks); });

6- continue execution
PopUp is displayed, but RFID is enabled
(see screenshot attached)
TagsNo tags attached.
Attached Filespng file icon rfid.png [^] (84,241 bytes) 2019-03-28 11:21


patch file icon issue 40475 source mobilecore.patch [^] (1,003 bytes) 2019-04-02 08:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040513 closedranjith_qualiantech_com The focus is lost after completing one ticket if one popup is opened when new ticket is created and previous ticket is deleted 

-  Notes
(0111041)
hgbot (developer)
2019-04-09 12:40

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d382a5f2bc769a71aee00cae5bd975afc15377b1
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 09 16:09:59 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d382a5f2bc769a71aee00cae5bd975afc15377b1 [^]

Fixed issue 40475 : Hook PreScanningFocus should be called when no popups is displayed

* When scanMode is set as true, there should not be any active popups.
  If there are any active popups, hook OBMOBC_PreScanningFocus should not be called

---
M web/org.openbravo.mobile.core/source/component/ob-terminal-component.js
---
(0111135)
adrianromero (manager)
2019-04-15 14:12

The error is still reproducible with the changeset applied:

1.- Do to the console and add the hook:
OB.UTIL.HookManager.registerHook('OBPOS_NewReceipt', function(args, callbacks) {OB.UTIL.showConfirmation.display(); OB.UTIL.HookManager.callbackExecutor(args, callbacks); });
2.- Delete the receipt and observe now the empty confirm dialog of the previous hook appears.
3. Close the dialog and observe RFID is disabled (RFID icon is red). This is wrong.
Observe also if you tap on "SCAN" the RFID is enabled again (icon is black)
(0111163)
hgbot (developer)
2019-04-16 12:30

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9b726d138932fd8104fabe3df2ed600600fcea65
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Apr 16 16:00:06 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9b726d138932fd8104fabe3df2ed600600fcea65 [^]

Fixed issue 40475 : Updated scanMode to false while deleting the receipt

* Original Scanmode should be updated before deleting the receipt.

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0111165)
adrianromero (manager)
2019-04-16 14:02

Verified.

- Issue History
Date Modified Username Field Change
2019-03-28 11:20 malsasua New Issue
2019-03-28 11:20 malsasua Assigned To => Retail
2019-03-28 11:20 malsasua Resolution time => 1554415200
2019-03-28 11:20 malsasua Triggers an Emergency Pack => No
2019-03-28 11:21 malsasua File Added: rfid.png
2019-03-28 11:25 malsasua Resolution time 1554415200 => 1555538400
2019-03-28 14:03 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-03-28 14:03 ranjith_qualiantech_com Status new => scheduled
2019-04-02 08:21 ranjith_qualiantech_com File Added: issue 40475 source mobilecore.patch
2019-04-04 10:46 ranjith_qualiantech_com Relationship added related to 0040513
2019-04-09 12:40 hgbot Checkin
2019-04-09 12:40 hgbot Note Added: 0111041
2019-04-09 12:40 hgbot Status scheduled => resolved
2019-04-09 12:40 hgbot Resolution open => fixed
2019-04-09 12:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d382a5f2bc769a71aee00cae5bd975afc15377b1 [^]
2019-04-15 14:12 adrianromero Note Added: 0111135
2019-04-15 14:12 adrianromero Status resolved => new
2019-04-15 14:12 adrianromero Resolution fixed => open
2019-04-16 08:52 ranjith_qualiantech_com Status new => scheduled
2019-04-16 12:30 hgbot Checkin
2019-04-16 12:30 hgbot Note Added: 0111163
2019-04-16 12:30 hgbot Status scheduled => resolved
2019-04-16 12:30 hgbot Resolution open => fixed
2019-04-16 12:30 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d382a5f2bc769a71aee00cae5bd975afc15377b1 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9b726d138932fd8104fabe3df2ed600600fcea65 [^]
2019-04-16 14:02 adrianromero Review Assigned To => adrianromero
2019-04-16 14:02 adrianromero Note Added: 0111165
2019-04-16 14:02 adrianromero Status resolved => closed
2019-04-16 14:02 adrianromero Fixed in Version => RR19Q3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker