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

View Revisions: Issue #29290 All Revisions ] Back to Issue ]
Summary 0029290: Stabilization: The 'OB.MobileApp.model.syncAllModels' process should be executed once
Revision 2015-03-26 21:26 by Orekaria
Steps To Reproduce 1)
. with eclipse in debug mode, add a breakpoint in orderloader process
. in WEB POS, create and pay a new receipt
. the execution will be stopped in the breakpoint
. wait 30 seconds
. remove the breakpoint and press F8 (continue execution)

error will be displayed in the console:
ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00001: unique constraint (RET_TEST_ORACLE.C_ORDER_KEY) violated

2) Verify that the syncAllModels does not always execute a callback

3) Copy and execute these lines in the browser console:

OB.MobileApp.model.syncAllModels(function () {console.log('a')}, function () {console.error('Ea')} )
OB.MobileApp.model.syncAllModels(function () {console.log('b')}, function () {console.error('Eb')} )
OB.MobileApp.model.syncAllModels(function () {console.log('c')}, function () {console.error('Ec')} )
OB.MobileApp.model.syncAllModels(function () {console.log('d')}, function () {console.error('Ed')} )
OB.MobileApp.model.syncAllModels(function () {console.log('e')}, function () {console.error('Ee')} )
OB.MobileApp.model.syncAllModels(function () {console.log('f')}, function () {console.error('Ef')} )


Verify this output n times:
 The model 'cashup' has been fully synchronized with the server; line: OB.Dal.find.proc.exec.removeSyncedElemsCallback (http://localhost:8080/openbravo/web/js/gen/0bceab924d738331f5d7f9f59695a2e0_WebPOS.js:3897:18 [^]) (*,+)
0bceab924d738331f5d7f9f59695a2e0_WebPOS.js:7602 runSyncProcess: synchronization successfully done;
Revision 2015-03-16 18:13 by Orekaria
Steps To Reproduce 1)
. with eclipse in debug mode, add a breakpoint in orderloader process
. in WEB POS, create and pay a new receipt
. the execution will be stopped in the breakpoint
. wait 30 seconds
. remove the breakpoint and press F8 (continue execution)

error will be displayed in the console:
ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00001: unique constraint (RET_TEST_ORACLE.C_ORDER_KEY) violated

2) Verify that the syncAllModels does not always execute a callback

3) Copy and execute these lines in the browser console:

OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()

Verify this output n times:
 The model 'cashup' has been fully synchronized with the server; line: OB.Dal.find.proc.exec.removeSyncedElemsCallback (http://localhost:8080/openbravo/web/js/gen/0bceab924d738331f5d7f9f59695a2e0_WebPOS.js:3897:18 [^]) (*,+)
0bceab924d738331f5d7f9f59695a2e0_WebPOS.js:7602 runSyncProcess: synchronization successfully done;
Revision 2015-03-16 18:13 by Orekaria
Steps To Reproduce 1)
. with eclipse in debug mode, add a breakpoint in orderloader process
. in WEB POS, create and pay a new receipt
. the execution will be stopped in the breakpoint
. wait 30 seconds
. remove the breakpoint and press F8 (continue execution)

error will be displayed in the console:
ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00001: unique constraint (RET_TEST_ORACLE.C_ORDER_KEY) violated

2) Verify that the syncAllModels does not always execute a callback

3) Copy and execute this lines in the browser console:

OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()
OB.MobileApp.model.runSyncProcess()

Verify this output n times:
 The model 'cashup' has been fully synchronized with the server; line: OB.Dal.find.proc.exec.removeSyncedElemsCallback (http://localhost:8080/openbravo/web/js/gen/0bceab924d738331f5d7f9f59695a2e0_WebPOS.js:3897:18 [^]) (*,+)
0bceab924d738331f5d7f9f59695a2e0_WebPOS.js:7602 runSyncProcess: synchronization successfully done;
Revision 2015-03-16 17:50 by Orekaria
Steps To Reproduce 1)
. with eclipse in debug mode, add a breakpoint in orderloader process
. in WEB POS, create and pay a new receipt
. the execution will be stopped in the breakpoint
. wait 30 seconds
. remove the breakpoint and press F8 (continue execution)

error will be displayed in the console:
ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00001: unique constraint (RET_TEST_ORACLE.C_ORDER_KEY) violated

2) Verify that the syncAllModels does not always execute a callback
Revision 2015-03-16 17:49 by Orekaria
Steps To Reproduce . with eclipse in debug mode, add a breakpoint in orderloader process
. in WEB POS, create and pay a new receipt
. the execution will be stopped in the breakpoint
. wait 30 seconds
. remove the breakpoint and press F8 (continue execution)

error will be displayed in the console:
ERROR org.hibernate.util.JDBCExceptionReporter - ORA-00001: unique constraint (RET_TEST_ORACLE.C_ORDER_KEY) violated


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker