Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043398Retail ModulesWeb POSpublic2020-03-03 11:262020-03-03 11:34
jorge_acosta 
Retail 
lowminoralways
newopen 
5
 
 
No
0043398: Not validated hook on obsmail_hook_preordersave.js
Client detected that the hook in obsmail_hook_preordersave.js doesn't validate if it has been cancelled, so if a previous hook has been cancelled this one will not take it in account.
Check the conditions of the hook in obsmail_hook_preordersave.js
Proposed by the client : ( at the beginning of the hook )

if (args && args.cancellation && args.cancellation === true) {
    OB.UTIL.HookManager.callbackExecutor(args, callbacks);
    return;
}
No tags attached.
Issue History
2020-03-03 11:26jorge_acostaNew Issue
2020-03-03 11:26jorge_acostaAssigned To => Retail
2020-03-03 11:26jorge_acostaTriggers an Emergency Pack => No
2020-03-03 11:34PracticsIssue Monitored: Practics

There are no notes attached to this issue.