Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038935 | Retail Modules | StoreServer | public | 2018-07-11 17:57 | 2018-07-12 08:47 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | critical | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038935: Wrong check leads to infinite loop,which results in many requests being done from store to central server |
Description | In this issue [1] a check was added so that when a request from the store to the central server failed, the store server checked the central server availability before going offline.
The condition in the while loop is wrong, and if the central server is actually available, the while will become an infinite loop, and new availability requests will be made constantly from the store to the central server
[1] https://issues.openbravo.com/view.php?id=38505 [^] |
Steps To Reproduce | Check this loop [1]. If the central is available, the isAvailable variable will be true, so the loop check will evaluate to true always.
[1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java#l241 [^] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0038505 | | closed | AugustoMauch | Before going offline do extra ping request |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-07-11 17:57 | AugustoMauch | New Issue | |
2018-07-11 17:57 | AugustoMauch | Assigned To | => AugustoMauch |
2018-07-11 17:57 | AugustoMauch | Triggers an Emergency Pack | => No |
2018-07-11 17:57 | AugustoMauch | Relationship added | related to 0038505 |
2018-07-11 18:04 | hgbot | Checkin | |
2018-07-11 18:04 | hgbot | Note Added: 0105704 | |
2018-07-11 18:04 | hgbot | Status | new => resolved |
2018-07-11 18:04 | hgbot | Resolution | open => fixed |
2018-07-11 18:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b9c82db30a89d9f76e62ff6d59b115fd03fd3714 [^] |
2018-07-11 18:04 | AugustoMauch | Review Assigned To | => mtaal |
2018-07-12 08:47 | mtaal | Note Added: 0105706 | |
2018-07-12 08:47 | mtaal | Status | resolved => closed |