Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0034807 | Retail Modules | StoreServer | public | 2016-12-22 10:35 | 2016-12-29 13:22 |
|
Reporter | mtaal | |
Assigned To | Sandrahuguet | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR17Q1 | Fixed in Version | RR17Q1 | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0034807: [API change] Remove the trigger state field from mobile server definition as the server type (main) provides enough information |
Description | The trigger state field (of the Mobile Server Definition table) flag was intended to define that a server's unavailability would trigger going offline or online. However in practice the server type is enough. All the relevant code already uses the utility method [1] checking both the servertype and trigger state.
The idea was to support that new server types could trigger offline. But this should be re-implemented whenever this becomes relevant as we then have better knowledge on how it will be used. Also there is already some extension possible for offline checking [2].
[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/ef3722f7a2bd/src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java#l41 [^]
[2]
http://wiki.openbravo.com/wiki/How_to_implement_custom_offline_checking [^] |
Steps To Reproduce | Install multi-server |
Proposed Solution | Remove the trigger state column and all its usages. Check if the column is used anywhere else than in the above utils method. |
Additional Information | |
Tags | Approved |
Relationships | related to | defect | 0035292 | | closed | AugustoMauch | API Change: Ping Service and Trigger State columns should be deleted |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-12-22 10:35 | mtaal | New Issue | |
2016-12-22 10:35 | mtaal | Assigned To | => Sandrahuguet |
2016-12-22 10:35 | mtaal | OBNetwork customer | => No |
2016-12-22 10:35 | mtaal | Triggers an Emergency Pack | => No |
2016-12-22 10:38 | mtaal | Review Assigned To | => mtaal |
2016-12-22 10:38 | mtaal | Description Updated | bug_revision_view_page.php?rev_id=14112#r14112 |
2016-12-27 11:19 | Sandrahuguet | Summary | Remove the trigger state field from mobile server definition as the server type (main) provides enough information => [API change] Remove the trigger state field from mobile server definition as the server type (main) provides enough information |
2016-12-27 11:24 | Sandrahuguet | Status | new => scheduled |
2016-12-27 19:42 | dmitry_mezentsev | Tag Attached: Approved | |
2016-12-28 09:59 | hgbot | Checkin | |
2016-12-28 09:59 | hgbot | Note Added: 0093036 | |
2016-12-28 09:59 | hgbot | Status | scheduled => resolved |
2016-12-28 09:59 | hgbot | Resolution | open => fixed |
2016-12-28 09:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/727ec6dd252256acce4935d1d69654e5339e100c [^] |
2016-12-29 13:22 | mtaal | Note Added: 0093052 | |
2016-12-29 13:22 | mtaal | Status | resolved => closed |
2016-12-29 13:22 | mtaal | Fixed in Version | => RR17Q1 |
2017-03-09 10:28 | mtaal | Relationship added | related to 0035292 |