Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033102Retail ModulesWeb POSpublic2016-06-01 12:182016-06-24 10:07
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q3 
migueldejuana
No
0033102: Multi-Server Process Caller: do transition also directly
When a multi-server call is done and during the call the central server went down then an error message was shown.

The next action would show the standard offline transition message.

The system should show the transition to offline message right away.
Start store and central server
Open webpos, create a ticket
before pressing done button stop central server
press done button

error message is shown
No tags attached.
Issue History
2016-06-01 12:18mtaalNew Issue
2016-06-01 12:18mtaalAssigned To => mtaal
2016-06-01 12:18mtaalTriggers an Emergency Pack => No
2016-06-06 08:51hgbotCheckin
2016-06-06 08:51hgbotNote Added: 0087014
2016-06-06 08:51hgbotStatusnew => resolved
2016-06-06 08:51hgbotResolutionopen => fixed
2016-06-06 08:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2d43b461f7340f4d17019b590ddce2f469227dbc [^]
2016-06-07 17:20migueldejuanaNote Added: 0087071
2016-06-07 17:20migueldejuanaStatusresolved => new
2016-06-07 17:20migueldejuanaResolutionfixed => open
2016-06-14 13:42mtaalStatusnew => scheduled
2016-06-14 13:43mtaalNote Added: 0087253
2016-06-14 13:43mtaalStatusscheduled => resolved
2016-06-14 13:43mtaalFixed in Version => RR16Q3
2016-06-14 13:43mtaalResolutionopen => fixed
2016-06-20 16:21mtaalReview Assigned To => migueldejuana
2016-06-23 11:25migueldejuanaNote Added: 0087848
2016-06-23 11:25migueldejuanaStatusresolved => closed
2016-06-23 12:02migueldejuanaNote Added: 0087850
2016-06-23 12:02migueldejuanaStatusclosed => new
2016-06-23 12:02migueldejuanaResolutionfixed => open
2016-06-23 12:02migueldejuanaFixed in VersionRR16Q3 =>
2016-06-23 12:40migueldejuanaNote Added: 0087852
2016-06-24 10:07migueldejuanaStatusnew => scheduled
2016-06-24 10:07migueldejuanaNote Added: 0087880
2016-06-24 10:07migueldejuanaStatusscheduled => resolved
2016-06-24 10:07migueldejuanaResolutionopen => fixed
2016-06-24 10:07migueldejuanaStatusresolved => closed

Notes
(0087014)
hgbot   
2016-06-06 08:51   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2d43b461f7340f4d17019b590ddce2f469227dbc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jun 06 08:42:40 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2d43b461f7340f4d17019b590ddce2f469227dbc [^]

Fixes issue 33102: Multi-Server Process Caller: do transition also directly
Check the return result and send transition status back to client

---
M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
---
(0087071)
migueldejuana   
2016-06-07 17:20   
Following steps to reproduce now we see the Transition to Offline popup but the error modal is still shown before it.
Just need to skip showing Error modal
(0087253)
mtaal   
2016-06-14 13:43   
I couldn't reproduce the issue anymore after other code changes have happened.
(0087848)
migueldejuana   
2016-06-23 11:25   
Tested and reviewed
(0087850)
migueldejuana   
2016-06-23 12:02   
The first time worked fine but after testing again failed.
(I added a Process every 30 sec to check the status, I don't know if it affects)
(0087852)
migueldejuana   
2016-06-23 12:40   
2609531 [http-8080-2] ERROR org.openbravo.base.exception.OBException - No result obtained from OBMOBC_SERVER_DEFINITION(F7A960F752FE421CAB3AAFEA483BE897) (name: centralServer) for service /org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.servercontroller.SynchronizedServerProcessCaller
org.openbravo.base.exception.OBException: No result obtained from OBMOBC_SERVER_DEFINITION(F7A960F752FE421CAB3AAFEA483BE897) (name: centralServer) for service /org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.servercontroller.SynchronizedServerProcessCaller
    at org.openbravo.mobile.core.servercontroller.MobileServerRequestExecutor.executeCentralRequest(MobileServerRequestExecutor.java:191)
    at org.openbravo.mobile.core.servercontroller.MultiServerDataSynchronizationProcess.executeFromWebPOSInStore(MultiServerDataSynchronizationProcess.java:306)
    at org.openbravo.mobile.core.servercontroller.MultiServerDataSynchronizationProcess.exec(MultiServerDataSynchronizationProcess.java:134)
    at org.openbravo.mobile.core.process.JSONProcessSimple.exec(JSONProcessSimple.java:59)
    at org.openbravo.mobile.core.process.SecuredJSONProcess.secureExec(SecuredJSONProcess.java:53)
    at org.openbravo.mobile.core.process.MobileServiceProcessor.execProcess(MobileServiceProcessor.java:117)
    at org.openbravo.mobile.core.process.MobileServiceProcessor.execServiceName(MobileServiceProcessor.java:79)
    at org.openbravo.mobile.core.process.MobileService.doGetOrPost(MobileService.java:89)
    at org.openbravo.mobile.core.process.MobileService.doPost(MobileService.java:59)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:228)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:431)
    at org.openbravo.client.kernel.BaseKernelServlet.callServiceInSuper(BaseKernelServlet.java:87)
    at org.openbravo.mobile.core.process.WebServiceAuthenticatedServlet.service(WebServiceAuthenticatedServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.replication.symmetricds.ServletDisablerDuringTableReloadFilter.doFilter(ServletDisablerDuringTableReloadFilter.java:64)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.client.kernel.KernelFilter.doFilter(KernelFilter.java:71)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:81)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:103)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:745)
(0087880)
migueldejuana   
2016-06-24 10:07   
Tested and reviewed