Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033663 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | major | have not tried | 2016-08-09 17:17 | 2016-11-20 13:42 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 15fb8809f970 | ||||
Projection | none | ETA | none | Target Version | RR16Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0033663: Ping service fail method not called in case of multiple servers | |||||||
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"}]" | |||||||
Steps To Reproduce | Install 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 Solution | Also call the success/fail method in case of multiple servers | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 (viewer) 2016-08-18 09:00 |
Tested and reviewed |
(0091672) mtaal (viewer) 2016-11-20 13:42 |
changed to new to schedule backport |
(0091673) mtaal (viewer) 2016-11-20 13:42 |
back to resolved |
(0091674) mtaal (viewer) 2016-11-20 13:42 |
back to closed |
![]() |
|||
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 | OBNetwork customer | => No |
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 |