Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0036354 | Retail Modules | Web POS | public | 2017-06-27 09:23 | 2017-06-27 11:46 |
| Reporter | guilleaer | ||||
| Assigned To | Retail | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0036354: OBPOS_TerminalLoadedFromBackend Hook is not taking into account asynchrony | ||||
| Description | Hook OBPOS_TerminalLoadedFromBackend is not taking into account asynchrony, so if a 3th module implements it adding an asynchronous action, the loading process will continue without wait to finish. It can be a problem or not depending on the actions done in the implementation of the hook. Asynchrony should be correctly managed | ||||
| Steps To Reproduce | Create a 3th module implement the hook with this code OB.UTIL.HookManager.registerHook('OBPOS_TerminalLoadedFromBackend', function(args, c) { setTimeout(function () { //custom code OB.UTIL.HookManager.callbackExecutor(args, c); }, 10000); }); As you can see the loading process continues without wait to the callback from the hook | ||||
| Proposed Solution | Manage asynchrony | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2017-06-27 09:23 | guilleaer | New Issue | |||
| 2017-06-27 09:23 | guilleaer | Assigned To | => Retail | ||
| 2017-06-27 09:23 | guilleaer | OBNetwork customer | => No | ||
| 2017-06-27 09:23 | guilleaer | Triggers an Emergency Pack | => No | ||
| 2017-06-27 11:46 | egoitz | Issue Monitored: egoitz | |||
| There are no notes attached to this issue. |