Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034783 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | always | 2016-12-20 11:44 | 2017-10-23 18:22 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 8488534a4c7c | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0093932) hgbot (developer) 2017-01-30 13:04 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 8488534a4c7c2d6a3973887958b76ce89f6fbd42 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Mon Jan 30 13:04:22 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8488534a4c7c2d6a3973887958b76ce89f6fbd42 [^] Fixes issue 34783: [Store Server 2197]Bad error message when central is offline Give more user friendly error message but still log the error. --- M src-db/database/sourcedata/AD_MESSAGE.xml M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java --- |
(0094284) Sandrahuguet (viewer) 2017-02-13 18:43 |
reviewed and tested |
![]() |
|||
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |