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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033663
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajorhave not tried2016-08-09 17:172016-11-20 13:42
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR16Q4
StatusclosedFix in branchFixed in SCM revision15fb8809f970
ProjectionnoneETAnoneTarget VersionRR16Q4
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

0033663: Ping service fail method not called in case of multiple servers

DescriptionIn 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"}]"
Steps To ReproduceInstall multi-server, central and store
Login into store with webpos
do a product search
add a product, pay button is enabled
stop the store server
do a product search --> the webpos switches to central and starts pinging the store server
after the first ping the pay button becomes disable
Proposed SolutionAlso call the success/fail method in case of multiple servers
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0034587RR16Q3.4 closedmtaal Ping service fail method not called in case of multiple servers 

-  Notes
(0088932)
hgbot (developer)
2016-08-10 07:46

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 15fb8809f9708c2464875dc39e8ad4935f81ad5e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Aug 10 07:46:37 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/15fb8809f9708c2464875dc39e8ad4935f81ad5e [^]

Fixes issue 33663: Ping service fail method not called in case of multiple servers
Make sure to call callback also in case of failure when having multi-server.
This removes the request from the synchronization stack kept by the synchronization
helper.

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0089199)
migueldejuana (developer)
2016-08-18 09:00

Tested and reviewed
(0091672)
mtaal (manager)
2016-11-20 13:42

changed to new to schedule backport
(0091673)
mtaal (manager)
2016-11-20 13:42

back to resolved
(0091674)
mtaal (manager)
2016-11-20 13:42

back to closed

- Issue History
Date Modified Username Field Change
2016-08-09 17:17 mtaal New Issue
2016-08-09 17:17 mtaal Assigned To => mtaal
2016-08-09 17:17 mtaal Triggers an Emergency Pack => No
2016-08-10 07:34 mtaal Description Updated View Revisions
2016-08-10 07:46 hgbot Checkin
2016-08-10 07:46 hgbot Note Added: 0088932
2016-08-10 07:46 hgbot Status new => resolved
2016-08-10 07:46 hgbot Resolution open => fixed
2016-08-10 07:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/15fb8809f9708c2464875dc39e8ad4935f81ad5e [^]
2016-08-16 10:29 mtaal Review Assigned To => migueldejuana
2016-08-18 09:00 migueldejuana Note Added: 0089199
2016-08-18 09:00 migueldejuana Status resolved => closed
2016-11-20 13:42 mtaal Note Added: 0091672
2016-11-20 13:42 mtaal Status closed => new
2016-11-20 13:42 mtaal Resolution fixed => open
2016-11-20 13:42 mtaal Status new => scheduled
2016-11-20 13:42 mtaal Note Added: 0091673
2016-11-20 13:42 mtaal Status scheduled => resolved
2016-11-20 13:42 mtaal Fixed in Version => RR16Q4
2016-11-20 13:42 mtaal Resolution open => fixed
2016-11-20 13:42 mtaal Note Added: 0091674
2016-11-20 13:42 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker