Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037146
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajoralways2017-10-23 18:222017-11-08 12:34
ReportergorkaionView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revisiona4b052d11ffc
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression levelQA functional test
Regression date2017-03-29
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/012e6b7ab09c [^]
Triggers an Emergency PackNo
Summary

0037146: [Store Server 3288]Bad error message when central is offline on services configured to be executed only in central.

DescriptionRegression. issue 0034783 is reproducible again. Copied here the description and steps to reproduce.

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 ReproduceTo 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 SolutionSame as in 0034783
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0034783 closedmtaal [Store Server 2197]Bad error message when central is offline on services configured to be executed only in central. 

-  Notes
(0100327)
hgbot (developer)
2017-11-08 08:58

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a4b052d11ffc6c773ce550db82b5bbea00b9d20a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 08 08:58:17 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a4b052d11ffc6c773ce550db82b5bbea00b9d20a [^]

Fixes issue 37146: [Store Server 3288]Bad error message when central is offline on services configured to be executed only in central.
Show a nicer error message

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
---
(0100349)
AugustoMauch (manager)
2017-11-08 12:34

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2017-10-23 18:22 gorkaion New Issue
2017-10-23 18:22 gorkaion Assigned To => AugustoMauch
2017-10-23 18:22 gorkaion Resolution time => 1509922800
2017-10-23 18:22 gorkaion Regression level => QA functional test
2017-10-23 18:22 gorkaion Regression date => 2017-03-29
2017-10-23 18:22 gorkaion Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/012e6b7ab09c [^]
2017-10-23 18:22 gorkaion Triggers an Emergency Pack => No
2017-10-23 18:22 gorkaion Issue generated from 0034783
2017-10-23 18:22 gorkaion Relationship added related to 0034783
2017-10-24 09:56 mtaal Assigned To AugustoMauch => mtaal
2017-11-08 08:58 mtaal Review Assigned To => AugustoMauch
2017-11-08 08:58 hgbot Checkin
2017-11-08 08:58 hgbot Note Added: 0100327
2017-11-08 08:58 hgbot Status new => resolved
2017-11-08 08:58 hgbot Resolution open => fixed
2017-11-08 08:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a4b052d11ffc6c773ce550db82b5bbea00b9d20a [^]
2017-11-08 12:34 AugustoMauch Note Added: 0100349
2017-11-08 12:34 AugustoMauch Status resolved => closed
2017-11-08 12:34 AugustoMauch Fixed in Version => RR18Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker