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

View Revisions: Issue #33663 All Revisions ] Back to Issue ]
Summary 0033663: Ping service fail method not called in case of multiple servers
Revision 2016-08-10 07:34 by mtaal
Description In case of multiple servers (central and store) and the store server down the webpos automatically starts pinging the store server.

The ping service does not call the original fail method of the request if there are more than 1 servers ([1]). This results in the synchronizationHelper queue in WebPOS to fill ([2]) up as the request is not correctly finished.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/052f0d3e3b18/web/org.openbravo.mobile.core/source/data/ob-requestrouter.js#l513 [^]

[2]
OB.UTIL.SynchronizationHelper.getBusyQueueStringified()
"[{"busyProcessId":113,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":114,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":133,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":151,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":203,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":207,"msg":"calculateGross"},{"busyProcessId":208,"msg":"taxescalculation"}]"
Revision 2016-08-09 17:17 by mtaal
Description In case of multiple servers (central and store) and the store server down the webpos automatically starts pinging the store server.

The ping service does not call the fail method of the request if there are more than 1 servers ([1]). This results in the synchronizationHelper queue in WebPOS to fill ([2]) up as the request is not correctly finished.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/052f0d3e3b18/web/org.openbravo.mobile.core/source/data/ob-requestrouter.js#l513 [^]

[2]
OB.UTIL.SynchronizationHelper.getBusyQueueStringified()
"[{"busyProcessId":113,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":114,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":133,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":151,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":203,"msg":"serviceGET org.openbravo.mobile.core.login.ContextInformation"},{"busyProcessId":207,"msg":"calculateGross"},{"busyProcessId":208,"msg":"taxescalculation"}]"


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker