Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0036354 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Retail Modules] Web POS | minor | always | 2017-06-27 09:23 | 2017-06-27 11:46 | |||||||
| Reporter | guilleaer | 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 | |||||||||||
| 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 | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
|  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] | |
|  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 | |
| Copyright © 2000 - 2009 MantisBT Group |