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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033102
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2016-06-01 12:182016-06-24 10:07
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision2d43b461f734
ProjectionnoneETAnoneTarget VersionRR16Q3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033102: Multi-Server Process Caller: do transition also directly

DescriptionWhen 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.
Steps To ReproduceStart store and central server
Open webpos, create a ticket
before pressing done button stop central server
press done button

error message is shown
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0087014)
hgbot (developer)
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 (developer)
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 (manager)
2016-06-14 13:43

I couldn't reproduce the issue anymore after other code changes have happened.
(0087848)
migueldejuana (developer)
2016-06-23 11:25

Tested and reviewed
(0087850)
migueldejuana (developer)
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 (developer)
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 (developer)
2016-06-24 10:07

Tested and reviewed

- Issue History
Date Modified Username Field Change
2016-06-01 12:18 mtaal New Issue
2016-06-01 12:18 mtaal Assigned To => mtaal
2016-06-01 12:18 mtaal Triggers an Emergency Pack => No
2016-06-06 08:51 hgbot Checkin
2016-06-06 08:51 hgbot Note Added: 0087014
2016-06-06 08:51 hgbot Status new => resolved
2016-06-06 08:51 hgbot Resolution open => fixed
2016-06-06 08:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2d43b461f7340f4d17019b590ddce2f469227dbc [^]
2016-06-07 17:20 migueldejuana Note Added: 0087071
2016-06-07 17:20 migueldejuana Status resolved => new
2016-06-07 17:20 migueldejuana Resolution fixed => open
2016-06-14 13:42 mtaal Status new => scheduled
2016-06-14 13:43 mtaal Note Added: 0087253
2016-06-14 13:43 mtaal Status scheduled => resolved
2016-06-14 13:43 mtaal Fixed in Version => RR16Q3
2016-06-14 13:43 mtaal Resolution open => fixed
2016-06-20 16:21 mtaal Review Assigned To => migueldejuana
2016-06-23 11:25 migueldejuana Note Added: 0087848
2016-06-23 11:25 migueldejuana Status resolved => closed
2016-06-23 12:02 migueldejuana Note Added: 0087850
2016-06-23 12:02 migueldejuana Status closed => new
2016-06-23 12:02 migueldejuana Resolution fixed => open
2016-06-23 12:02 migueldejuana Fixed in Version RR16Q3 =>
2016-06-23 12:40 migueldejuana Note Added: 0087852
2016-06-24 10:07 migueldejuana Status new => scheduled
2016-06-24 10:07 migueldejuana Note Added: 0087880
2016-06-24 10:07 migueldejuana Status scheduled => resolved
2016-06-24 10:07 migueldejuana Resolution open => fixed
2016-06-24 10:07 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker