Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035541 | Retail Modules | StoreServer | public | 2017-03-16 13:53 | 2017-03-21 11:35 |
|
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 | RR17Q2 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035541: Add a check that the multi-server preference is defined as system and without visibility filters |
Description | The multi-server preference should be defined on system level and without visibility filters.
This is specified in the docs [1] but very easy to miss resulting in confusion and loss of time.
[1] http://wiki.openbravo.com/wiki/Store_and_Multi_Server_Preferences [^] |
Steps To Reproduce | Set the preference to N not in system or add visibility filters, see that multi-server is still enabled |
Proposed Solution | Add a check which logs an exception stack trace or another very clear way that the preference is wrongly set
And add an eventhandler which prevents setting this preference in the wrong way. |
Additional Information | |
Tags | No tags attached. |
Relationships | causes | defect | 0035804 | RR17Q3 | closed | mtaal | MobileServerUtils: Incorrectly comparing string values using != instead of equals method |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-03-16 13:53 | mtaal | New Issue | |
2017-03-16 13:53 | mtaal | Assigned To | => mtaal |
2017-03-16 13:53 | mtaal | OBNetwork customer | => No |
2017-03-16 13:53 | mtaal | Triggers an Emergency Pack | => No |
2017-03-16 13:55 | mtaal | Proposed Solution updated | |
2017-03-19 10:20 | hgbot | Checkin | |
2017-03-19 10:20 | hgbot | Note Added: 0095390 | |
2017-03-19 10:41 | hgbot | Checkin | |
2017-03-19 10:41 | hgbot | Note Added: 0095393 | |
2017-03-19 10:41 | hgbot | Checkin | |
2017-03-19 10:41 | hgbot | Note Added: 0095394 | |
2017-03-19 10:41 | hgbot | Status | new => resolved |
2017-03-19 10:41 | hgbot | Resolution | open => fixed |
2017-03-19 10:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/44e8f0f349dca5f3ad77c01d5ed1b0b571ac9244 [^] |
2017-03-20 10:48 | mtaal | Review Assigned To | => AugustoMauch |
2017-03-21 10:51 | AugustoMauch | Description Updated | bug_revision_view_page.php?rev_id=14852#r14852 |
2017-03-21 11:32 | hgbot | Checkin | |
2017-03-21 11:32 | hgbot | Note Added: 0095458 | |
2017-03-21 11:35 | AugustoMauch | Note Added: 0095459 | |
2017-03-21 11:35 | AugustoMauch | Status | resolved => closed |
2017-04-20 10:19 | mtaal | Relationship added | causes 0035804 |
Notes |
|
(0095390)
|
hgbot
|
2017-03-19 10:20
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3e4ca82c28d5b95d4b6ce6d74a8671c18248b9e3
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Mar 19 10:20:36 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3e4ca82c28d5b95d4b6ce6d74a8671c18248b9e3 [^]
Related to issue 35541: Add a check that the multi-server preference is defined as system and without visibility filters
Call the utility method with client/org filter as the related preference should be defined on system level
---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
---
|
|
|
(0095393)
|
hgbot
|
2017-03-19 10:41
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c89a30497206f6d715ef01eb2e8f408422042a4d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Mar 19 10:23:58 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c89a30497206f6d715ef01eb2e8f408422042a4d [^]
Related to issue 35541: Add a check that the multi-server preference is defined as system and without visibility filters
New event handler to check that the multi-server preference is set at the correct level/visibility filters
---
A src/org/openbravo/mobile/core/servercontroller/MultiServerPreferenceEventHandler.java
---
|
|
|
(0095394)
|
hgbot
|
2017-03-19 10:41
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 44e8f0f349dca5f3ad77c01d5ed1b0b571ac9244
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Mar 19 10:24:45 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/44e8f0f349dca5f3ad77c01d5ed1b0b571ac9244 [^]
Fixes issue 35541: Add a check that the multi-server preference is defined as system and without visibility filters
Add a log statement/check if a multi-server pref is defined wrongly
---
M src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java
---
|
|
|
(0095458)
|
hgbot
|
2017-03-21 11:32
|
|
|
|
|
Code reviewed and verified |
|