Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0034783 | Retail Modules | StoreServer | public | 2016-12-20 11:44 | 2017-10-23 18:22 | |||||||
Reporter | gorkaion | |||||||||||
Assigned To | mtaal | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | Sandrahuguet | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0034783: [Store Server 2197]Bad error message when central is offline on services configured to be executed only in central. | |||||||||||
Description | The POS Templates configured to be printed in the backend are using a Mobile Service that can only be executed in the central server. The java implementation is overriding the executeOnlyInCentral() method to force this behavior. When the central server is offline it is not possible to print but the error shown to the user is not friendly. See screenshot. | |||||||||||
Steps To Reproduce | To test/simulate the issue in a non-but enviroment: - install multi-server - set synchronized mode preference - change the MultiServerJSONProcess.executeOnlyInCentral method to always return true in the store server - then goto webpos, prepare a ticket - just before pressing done button stop the central server - see the error message Reproduce in BUT environment; == Prerequisites == On a BUT Snapshot with at least core and posterminal modules on tip. PrintDocument java class of posterminal must extend MultiServerJSONProcess. Ensure that the POS Terminals are using the invoice templates provided by BUT Reports modules that are configured to be printed in the backend. == Steps == Try to print a invoice with central offline 1. Open a closed receipt. 2. Click on Print this receipt. 3. Select the opened printed to enable the print invoices button. 4. Click on Print Invoices. 5. A error message not user friendly is shown (see screenshot) | |||||||||||
Proposed Solution | The MultiserverJSONProcess class should check if Central is only when the executeOnlyInCentral returns true to return a more friendly error message. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10193&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=10354&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-12-20 11:44 | gorkaion | New Issue | ||||||||||
2016-12-20 11:44 | gorkaion | Assigned To | => StoreServer | |||||||||
2016-12-20 11:44 | gorkaion | File Added: centrall-offline-error.png | ||||||||||
2016-12-20 11:44 | gorkaion | OBNetwork customer | => Yes | |||||||||
2016-12-20 11:44 | gorkaion | Resolution time | => 1483398000 | |||||||||
2016-12-20 11:44 | gorkaion | Triggers an Emergency Pack | => No | |||||||||
2016-12-20 11:45 | gorkaion | Summary | Bad error message when central is offline on services configured to be executed only in central. => [Store Server 2197]Bad error message when central is offline on services configured to be executed only in central. | |||||||||
2016-12-22 10:44 | mtaal | Assigned To | StoreServer => mtaal | |||||||||
2017-01-30 13:04 | hgbot | Checkin | ||||||||||
2017-01-30 13:04 | hgbot | Note Added: 0093932 | ||||||||||
2017-01-30 13:04 | hgbot | Status | new => resolved | |||||||||
2017-01-30 13:04 | hgbot | Resolution | open => fixed | |||||||||
2017-01-30 13:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8488534a4c7c2d6a3973887958b76ce89f6fbd42 [^] | |||||||||
2017-01-30 13:05 | mtaal | File Added: Selection_137.png | ||||||||||
2017-01-30 13:05 | mtaal | Review Assigned To | => Sandrahuguet | |||||||||
2017-01-30 13:08 | mtaal | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14393#r14393 | |||||||||
2017-02-02 14:03 | gorkaion | Issue cloned | 0035140 | |||||||||
2017-02-13 18:43 | Sandrahuguet | Note Added: 0094284 | ||||||||||
2017-02-13 18:43 | Sandrahuguet | Status | resolved => closed | |||||||||
2017-10-23 18:22 | gorkaion | Issue cloned | 0037146 | |||||||||
2017-10-23 18:22 | gorkaion | Relationship added | related to 0037146 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|