Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039625 | Retail Modules | StoreServer | public | 2018-11-14 11:07 | 2018-12-21 13:58 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | pi | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039625: The WebPOS broadcast service calls success always only on first server irrespective of its state |
Description | The WebPOS has a special service type called broadcast [1]. This service type is used for example for logout or role change. The current behavior is that the success/failure callback are only called for the first server in the list. All servers are called, even the ones that are listed as offline.
This results in that if the first server fails but the rest succeed that the success is never called.
There are several different options possible. But for now the choice is to only allow call of success/fail on an online server |
Steps To Reproduce | Install multi-server.
Login, do some things
Stop CS, go offline
Go to WebPOS change role |
Proposed Solution | See description |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0039179 | | closed | mtaal | Changing the Role in a multiserver environment only changes the context in the Store |
|
Attached Files | chg_role.diff (3,897) 2018-12-01 18:57 https://issues.openbravo.com/file_download.php?file_id=12399&type=bug 39625.diff (1,414) 2018-12-02 16:49 https://issues.openbravo.com/file_download.php?file_id=12403&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2018-11-14 11:07 | mtaal | New Issue | |
2018-11-14 11:07 | mtaal | Assigned To | => mtaal |
2018-11-14 11:07 | mtaal | Triggers an Emergency Pack | => No |
2018-11-14 11:07 | mtaal | Relationship added | related to 0039179 |
2018-12-01 18:57 | mtaal | File Added: chg_role.diff | |
2018-12-02 16:49 | mtaal | File Added: 39625.diff | |
2018-12-02 21:10 | mtaal | Note Added: 0108219 | |
2018-12-02 21:10 | mtaal | Review Assigned To | => migueldejuana |
2018-12-02 21:11 | hgbot | Checkin | |
2018-12-02 21:11 | hgbot | Note Added: 0108220 | |
2018-12-02 21:11 | hgbot | Status | new => resolved |
2018-12-02 21:11 | hgbot | Resolution | open => fixed |
2018-12-02 21:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1bb3b394ebf3b1d18502d71b29406d2852e8f376 [^] |
2018-12-03 16:46 | migueldejuana | Note Added: 0108226 | |
2018-12-03 16:46 | migueldejuana | Status | resolved => closed |
2018-12-20 22:30 | mtaal | Status | closed => new |
2018-12-20 22:30 | mtaal | Resolution | fixed => open |
2018-12-20 22:31 | hgbot | Checkin | |
2018-12-20 22:31 | hgbot | Note Added: 0108712 | |
2018-12-20 22:31 | hgbot | Status | new => resolved |
2018-12-20 22:31 | hgbot | Resolution | open => fixed |
2018-12-20 22:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1bb3b394ebf3b1d18502d71b29406d2852e8f376 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8fdd97e58af067dc039ad7b5d2e9ec3a2eab35f [^] |
2018-12-21 13:58 | migueldejuana | Note Added: 0108725 | |
2018-12-21 13:58 | migueldejuana | Status | resolved => closed |
Notes |
|
(0108219)
|
mtaal
|
2018-12-02 21:10
|
|
The chosen solution approach is to only consider online server for success/fail callback. |
|
|
(0108220)
|
hgbot
|
2018-12-02 21:11
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1bb3b394ebf3b1d18502d71b29406d2852e8f376
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Dec 02 21:11:06 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1bb3b394ebf3b1d18502d71b29406d2852e8f376 [^]
Fixes issue 39625: The WebPOS broadcast service calls success always only on first server irrespective of its state
Only consider first online server for callback
---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
|
|
|
(0108712)
|
hgbot
|
2018-12-20 22:31
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a8fdd97e58af067dc039ad7b5d2e9ec3a2eab35f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Dec 20 22:30:57 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a8fdd97e58af067dc039ad7b5d2e9ec3a2eab35f [^]
Fixes issue 39625: The WebPOS broadcast service calls success always only on first server irrespective of its state
If there are no online servers then just select the first one for calling success/fail
---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
|
|