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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036354
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2017-06-27 09:232017-06-27 11:46
ReporterguilleaerView 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

0036354: OBPOS_TerminalLoadedFromBackend Hook is not taking into account asynchrony

DescriptionHook 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 ReproduceCreate 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 SolutionManage asynchrony
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
2017-06-27 09:23 guilleaer New Issue
2017-06-27 09:23 guilleaer Assigned To => Retail
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
Powered by Mantis Bugtracker