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

View Revisions: Issue #40101 All Revisions ] Back to Issue ]
Summary 0040101: [RR19Q1] [OMNI] Trying to pay a ticket that has been already paid in other terminal causes a silent error
Revision 2019-02-01 11:36 by plujan
Steps To Reproduce 1. In the terminal A, create a ticket with one line and partially paid it. Seek for the ticket and open it.
2. In the terminal B, seek for the same ticket and open it.
3. In B, fully paid the ticket. Note the process is successful
4. In A, fully paid the ticket. Note the process is successful
5. Open the backend and check the "Errors while Importing" window. Note the step 4 has generated an error.


The full error is:
org.openbravo.mobile.core.process.OutDatedDataChangeException: The data of this order has been changed on the server. Please reload the ticket through the menu and apply your changes again.
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:254)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:201)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:87)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:53)
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:59)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:376)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:297)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:844)
Revision 2019-02-01 11:35 by plujan
Steps To Reproduce 1. In the terminal A, create a ticket with one line and partially paid it. Seek for the ticket and open it.
2. In the terminal B, seek for the same ticket and open it.
3. In B, fully paid the ticket. Note the process is successful
4. In A, fully paid the ticket. Note the process is successful
5. Open the backend and check the "Errors while Importing" window. Note the step 4 has generated an error.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker