Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042384Retail ModulesWeb POSpublic2019-11-25 10:562019-12-09 15:02
aferraz 
migueldejuana 
normalmajorhave not tried
closedfixed 
5
 
RR20Q1 
marvintm
No
0042384: Error in ob-hooks with async functions
registerHook fails when sending an async function as func parameter.
executeHooks fails when sending an async function as callback parameter.
Call registerHook using an async function as func parameter -> error is thrown

Call executeHooks using an async function as callback parameter -> error is thrown
No tags attached.
diff 42384.diff (813) 2019-11-25 10:57
https://issues.openbravo.com/file_download.php?file_id=13578&type=bug
Issue History
2019-11-25 10:56aferrazNew Issue
2019-11-25 10:56aferrazAssigned To => Retail
2019-11-25 10:56aferrazTriggers an Emergency Pack => No
2019-11-25 10:57aferrazFile Added: 42384.diff
2019-12-02 09:09hgbotCheckin
2019-12-02 09:09hgbotNote Added: 0116006
2019-12-02 09:09hgbotStatusnew => resolved
2019-12-02 09:09hgbotResolutionopen => fixed
2019-12-02 09:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3ba5350c4213ab9a4fd05831bc96b409c2718c89 [^]
2019-12-02 09:20migueldejuanaAssigned ToRetail => migueldejuana
2019-12-09 15:02marvintmReview Assigned To => marvintm
2019-12-09 15:02marvintmStatusresolved => closed
2019-12-09 15:02marvintmFixed in Version => RR20Q1

Notes
(0116006)
hgbot   
2019-12-02 09:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3ba5350c4213ab9a4fd05831bc96b409c2718c89
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Dec 02 09:08:07 2019 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3ba5350c4213ab9a4fd05831bc96b409c2718c89 [^]

Fixed issue 0042384: Error in ob-hooks with async functions

- enyo.function is not working with asyn functions, use js typeof

---
M web/org.openbravo.mobile.core/source/utils/ob-hooks.js
---