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

View Revisions: Issue #41446 All Revisions ] Back to Issue ]
Summary 0041446: Duplicated cashup requests under specific circumstances in Synchronized Mode
Revision 2019-07-25 10:59 by adrianromero
Steps To Reproduce In a modules environment.
1. Log in Web POS in the terminal YS-11 to ensure that the terminal loads without problems.
2. Log out.
3. Log in backend, go to the Preference window and configure the WebPOS Synchronized Mode preference with value Y.
4. Go to the Terminals and Tills Status window and close all tills of the Yosemite store
5. Execute the Close Store process to close the Yosemite Store
6. Execute the Open Store process to open the Yosemite Store again.
7. In eclipse, open the ProcessCashClose.java file and set a breakpoint in the saveRecord method.
8. In web pos, log in again. Since the till was closed in backend, it will be required to close the cashup.
9. Finish the cashup process. The login window will be shown. The breakpoint in eclipse will trigger. Do not continue it yet.
10. Log in again.
11. The cashup will be requested again because the old cashup is detected to be still open.
12. When the cashup window is loaded, let the java code continue executing.
13. Finish the second cashup and continue the java code when the breakpoint hits.
=> Verify that when the second cashup finishes processing the following error appears in the eclipse console:
org.openbravo.base.exception.OBException: Cash up is processed and cannot be set as processed again. OBPOS_APP_CASHUP_ID: F2D583A3E2CFB856728EAD3823059DF4
    at org.openbravo.retail.posterminal.ProcessCashClose.saveRecord(ProcessCashClose.java:159)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:200)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155)

=> Verify also that the cashup appears in the Errors While Importing POS Data window, and that it is not possible to do login on the YS-11 terminal.
Revision 2019-07-24 15:10 by adrianromero
Steps To Reproduce In a modules environment.
Log in Web POS in the terminal YS-11 to ensure that the terminal loads without problems.
Log out.
Log in backend, go to the Preference window and configure the WebPOS Synchronized Mode preference with value Y.
Go to the Terminals and Tills Status window and close all tills of the Yosemite store
Execute the Close Store process to close the Yosemite Store
Execute the Open Store process to open the Yosemite Store again.
In eclipse, open the ProcessCashClose.java file and set a breakpoint in the saveRecord method.
In web pos, log in again. Since the till was closed in backend, it will be required to close the cashup.
Finish the cashup process. The login window will be shown. The breakpoint in eclipse will trigger. Do not continue it yet.
Log in again.
The cashup will be requested again because the old cashup is detected to be still open.
When the cashup window is loaded, let the java code continue executing.
Finish the second cashup and continue the java code when the breakpoint hits.
=> Verify that when the second cashup finishes processing the following error appears in the eclipse console:
org.openbravo.base.exception.OBException: Cash up is processed and cannot be set as processed again. OBPOS_APP_CASHUP_ID: F2D583A3E2CFB856728EAD3823059DF4
    at org.openbravo.retail.posterminal.ProcessCashClose.saveRecord(ProcessCashClose.java:159)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:200)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155)

=> Verify also that the cashup appears in the Errors While Importing POS Data window, and that it is not possible to do login on the YS-11 terminal.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker