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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039625
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServermajorhave not tried2018-11-14 11:072018-12-21 13:58
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiona8fdd97e58af
ProjectionnoneETAnoneTarget Versionpi
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

0039625: The WebPOS broadcast service calls success always only on first server irrespective of its state

DescriptionThe 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 ReproduceInstall multi-server.
Login, do some things
Stop CS, go offline
Go to WebPOS change role
Proposed SolutionSee description
TagsNo tags attached.
Attached Filesdiff file icon chg_role.diff [^] (3,897 bytes) 2018-12-01 18:57 [Show Content]
diff file icon 39625.diff [^] (1,414 bytes) 2018-12-02 16:49 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0039179 closedmtaal Changing the Role in a multiserver environment only changes the context in the Store 

-  Notes
(0108219)
mtaal (manager)
2018-12-02 21:10

The chosen solution approach is to only consider online server for success/fail callback.
(0108220)
hgbot (developer)
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
---
(0108226)
migueldejuana (developer)
2018-12-03 16:46

Reviewed
(0108712)
hgbot (developer)
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
---
(0108725)
migueldejuana (developer)
2018-12-21 13:58

Reviewed

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker