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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049394
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2022-05-24 18:592022-05-24 18:59
ReportermtaalView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049394: New scan event handlers with lower prio than the CrmConnector is never reached

DescriptionThe 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 ReproduceAdd 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 SolutionChange 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker