Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0051973 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Retail Modules] Web POS | major | sometimes | 2023-03-24 13:11 | 2025-03-27 12:00 | |||
| Reporter | joniturralde93 | View Status | public | |||||
| Assigned To | Triage Platform Conn | |||||||
| Priority | normal | Resolution | duplicate | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| 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() ) { | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0177368) hgbot (developer) 2025-03-27 12:00 |
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24100 [^] |
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 |
| Copyright © 2000 - 2009 MantisBT Group |