Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0051973 | Retail Modules | Web POS | public | 2023-03-24 13:11 | 2025-03-27 12:00 |
| Reporter | joniturralde93 | ||||
| Assigned To | Triage Platform Conn | ||||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | closed | Resolution | duplicate | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | 60410 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0051973: Start rfid only if no popup is opened | ||||
| Description | Usually this is correctly managed in the popups, but there are situations where rfid read is started in a wrong moment. For example, if we execute this: OB.UTIL.RfidController.removeEpc( obposEpccode, function() { OB.UTIL.RfidController.connectRFIDDevice(); } ); The callback connectRFIDDevice could take a bit to be executed, and in the meanwhile the user can trigger a popup. After that, RFID would be connected and the user can read a tag with an opened popup. | ||||
| Steps To Reproduce | - Use connectRfidDevice as a callback function or execute it with some delay - In the meantime, open any popup manually - After the popup is opened, RFID will be connected | ||||
| Proposed Solution | Check in connectRFIDDevice function if a popup is opened. Maybe this can be done by checking the property OB.MobileApp.model.get('terminalLogContextPopUp'), similar to this: isPopupOpened: function() { return ( !OB.UTIL.isNullOrUndefined( OB.MobileApp.model.get('terminalLogContextPopUp') ) && OB.MobileApp.model.get('terminalLogContextPopUp').length > 0 ); } And check this in the connect function: OB.UTIL.RfidController.connectRFIDDevice = function(callback, errorCallback) { if ( OB.UTIL.RfidController.get('rfidWebsocket') && !OB.UTIL.TerminalLog.isPopupOpened() ) { | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2023-03-24 13:11 | joniturralde93 | New Issue | |||
| 2023-03-24 13:11 | joniturralde93 | Assigned To | => Retail | ||
| 2023-03-24 13:11 | joniturralde93 | OBNetwork customer | => No | ||
| 2023-03-24 13:11 | joniturralde93 | Support ticket | => 60410 | ||
| 2023-03-24 13:11 | joniturralde93 | Triggers an Emergency Pack | => No | ||
| 2023-03-24 13:21 | joniturralde93 | Proposed Solution updated | |||
| 2023-04-04 13:44 | guillermogil | Assigned To | Retail => Triage Platform Conn | ||
| 2025-03-27 12:00 | hgbot | Note Added: 0177368 | |||
| 2025-03-27 12:00 | hgbot | Status | new => closed | ||
| 2025-03-27 12:00 | hgbot | Resolution | open => duplicate | ||
| Notes | |||||
|
|
|||||
|
|
||||