Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0035121 | Retail Modules | StoreServer | public | 2017-02-01 10:35 | 2017-02-21 09:47 |
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 | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0035121: Offline store server keeps sending requests to central server | ||||
Description | The store server can be offline because the CS is not available or when another system (e.g. stockmd) can not be reached. In the latter case the CS can be online and reachable. In this case the store server (in synchronized mode) will try to send requests to the central server while the store server is still offline. A probably related topic is that the CS can be really offline but behind an apache server which returns an empty result. In this case the following message is shown to the webpos user: The transaction failed on the server, change your input or try again. Detailed error message: No result obtained from OBMOBC_SERVER_DEFINITION(3B53B397974E42DABF2EFFB09D0572C1) (name: CentralServer) for service /org.openbravo.mobile.core.service.jsonrest/org.openbravo.mobile.core.servercontroller.SynchronizedServerProcessCaller | ||||
Steps To Reproduce | Install multi-server set synchronized mode add 'false &&' to the if-statement, so that the transitiontoonline handlers are not cleaned, so SS remains offline: https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/8e6f88539ceb/src/org/openbravo/mobile/core/servercontroller/MobileServerController.java#l615 [^] start servers login to webpos do a ticket stop central enter a ticket in webpos and press done button SS offline start CS | ||||
Proposed Solution | Also set the CS status when the transition to offline is triggered in MultiServerJSONProcess here [1] Around the same location do not call central server if the store server is offline [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/7162b5054a86/src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java#l391 [^] | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-02-01 10:35 | mtaal | New Issue | |||
2017-02-01 10:35 | mtaal | Assigned To | => mtaal | ||
2017-02-01 10:35 | mtaal | Triggers an Emergency Pack | => No | ||
2017-02-03 22:00 | mtaal | Summary | Central server is not flagged as offline if offline is detected through normal request => Offline store server keeps sending requests to central server | ||
2017-02-03 22:00 | mtaal | Description Updated | bug_revision_view_page.php?rev_id=14469#r14469 | ||
2017-02-03 22:00 | mtaal | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14471#r14471 | ||
2017-02-03 22:00 | mtaal | Proposed Solution updated | |||
2017-02-03 22:00 | mtaal | Review Assigned To | => AugustoMauch | ||
2017-02-03 22:04 | hgbot | Checkin | |||
2017-02-03 22:04 | hgbot | Note Added: 0094051 | |||
2017-02-03 22:04 | hgbot | Status | new => resolved | ||
2017-02-03 22:04 | hgbot | Resolution | open => fixed | ||
2017-02-03 22:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0fbb074eab0acd6b03bd27ac5650ef735a4faf54 [^] | ||
2017-02-21 09:47 | AugustoMauch | Note Added: 0094503 | |||
2017-02-21 09:47 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|