Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030473Retail ModulesWeb POSpublic2015-07-31 12:472015-08-20 09:59
guilleaer 
Orekaria 
normalmajorhave not tried
closedfixed 
5
 
RR15Q4 
Orekaria
No
0030473: eventParams.callback should not wait to the end of sync process when OBPOS_PostSyncReceipt is present
Looking to the code we are waiting to the end of sync process to execute this callback, but it seems that it should be executed whitout waiting to this event.

We are doing it fine when hook is not present
with hook:
            OB.MobileApp.model.runSyncProcess(function () {
              OB.info('runSyncProcess was success. call to callback function');
              successCallback(model);
              if (eventParams && eventParams.callback) {
                eventParams.callback();
              }
            });

without hook

            OB.MobileApp.model.runSyncProcess(function () {
              OB.info('runSyncProcess was success. call to callback function');
              successCallback(model);
            });
            if (eventParams && eventParams.callback) {
              eventParams.callback();
            }
If we don't need to wait fix the code
No tags attached.
duplicate of defect 0030465RR15Q4 closed Orekaria Stabillization: When the receipt is done, an immutable copy of it should be used in the involved asynchronous processes 
blocks defect 0030603RR15Q4 closed Orekaria Stabilization: RR15Q4 related issues 
Issue History
2015-07-31 12:47guilleaerNew Issue
2015-07-31 12:47guilleaerAssigned To => Retail
2015-07-31 12:47guilleaerTriggers an Emergency Pack => No
2015-08-05 17:10OrekariaReview Assigned To => Orekaria
2015-08-05 17:10OrekariaNote Added: 0079202
2015-08-05 17:10OrekariaStatusnew => closed
2015-08-05 17:10OrekariaResolutionopen => fixed
2015-08-05 17:10OrekariaFixed in Version => RR15Q4
2015-08-05 17:11OrekariaRelationship addedduplicate of 0030465
2015-08-05 17:11OrekariaNote Edited: 0079202bug_revision_view_page.php?bugnote_id=0079202#r9159
2015-08-19 12:35OrekariaRelationship addedblocks 0030603
2015-08-20 09:59OrekariaAssigned ToRetail => Orekaria

Notes
(0079202)
Orekaria   
2015-08-05 17:10   
(edited on: 2015-08-05 17:11)
This issue has been addressed in the 30465 issue. Should have been done here