Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0049394 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] POS | minor | have not tried | 2022-05-24 18:59 | 2022-05-24 18:59 | |||||||
Reporter | mtaal | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0049394: New scan event handlers with lower prio than the CrmConnector is never reached | |||||||||||
Description | The current implementation of the CrmConnectorScanEventHandler does not correctly (imv) handle the case that its scanning didn't return a customer. A eventHandled:true is returned making it impossible to add new scan event handlers with a lower priority. | |||||||||||
Steps To Reproduce | Add a new scan event handler with a low prio. Run this test code: setTimeout(function() { OB.App.BarcodeScanner.scanCode({code: 'ABC123'}); }, 2000); The new scan event handler is never called as before that the CrmConnector works (if enabled) | |||||||||||
Proposed Solution | Change the code [1] here to return eventHandled: false [1] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/services/scan/handlers/CrmConnectorScanEventHandler.js#L48 [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2022-05-24 18:59 | mtaal | New Issue | |
2022-05-24 18:59 | mtaal | Assigned To | => Retail |
2022-05-24 18:59 | mtaal | Triggers an Emergency Pack | => No |
Copyright © 2000 - 2009 MantisBT Group |