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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040894
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServerminoralways2019-05-17 07:352019-05-31 09:00
ReporterguillermogilView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc6015c288201
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040894: OBMOBC_MsgCentralServerNotAvailable is shown instead of the message

DescriptionOBMOBC_MsgCentralServerNotAvailable is shown instead of the message.
OBMOBCUtils.createSimpleErrorJson("OBMOBC_MsgCentralServerNotAvailable"); Does not get the message based on that searchkey.
Found in:
./org.openbravo.retail.storeserver.synchronization/src/org/openbravo/retail/storeserver/synchronization/RetailSynchronizationRequestHandler.java
./org.openbravo.mobile.core/src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
Steps To ReproduceIn a multiserver environment:
1. Log into a terminal for sellers with role Vendeur.
2. Add a customer.
3. Stop the central server
4. Open the Customer Card and start a new subscription.
---Message: OBMOBC_MsgCentralServerNotAvailable
TagsNo tags attached.
Attached Filespng file icon 5098.png [^] (11,618 bytes) 2019-05-17 07:35

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0112239)
AugustoMauch (manager)
2019-05-29 17:38

I could not reproduce the issue. When I stopped the central server and looked for a product, the proper message was shown.
(0112257)
mtaal (manager)
2019-05-30 09:33

Hi,
There are some steps in another issue description for reproducing it. My guess is that in that location the error message is handled differently.

"Steps to reproduce:

1. Log into a terminal for sellers with role Vendeur.
2. Add a customer.
3. Open the Customer Card and start a new subscription.
---Message: OBMOBC_MsgCentralServerNotAvailable

https://drive.google.com/open?id=1djAvl15QPxdLqCyhqLFi_7SzqWQrqh64" [^]
(0112264)
mtaal (manager)
2019-05-30 11:21

The solution seems to be to translate the message already here:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java#l156 [^]
(0112265)
hgbot (developer)
2019-05-30 11:32

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: c6015c2882012fd884d23c8e3dc800db22c7490a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu May 30 11:32:47 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c6015c2882012fd884d23c8e3dc800db22c7490a [^]

Fixes issue 40894: OBMOBC_MsgCentralServerNotAvailable is shown instead of the message
Translate the message on the server already

---
M src/org/openbravo/mobile/core/servercontroller/MultiServerJSONProcess.java
---
(0112266)
hgbot (developer)
2019-05-30 12:42

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 6bf2248d610208a7f2a39bdb37c14f5f9247f4bd
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu May 30 12:42:14 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/6bf2248d610208a7f2a39bdb37c14f5f9247f4bd [^]

Related to issue 40894: OBMOBC_MsgCentralServerNotAvailable is shown instead of the message
Translate the message before returning it to webpos

---
M src/org/openbravo/retail/storeserver/synchronization/RetailSynchronizationRequestHandler.java
---
(0112288)
AugustoMauch (manager)
2019-05-31 08:59

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2019-05-17 07:35 guillermogil New Issue
2019-05-17 07:35 guillermogil Assigned To => StoreServer
2019-05-17 07:35 guillermogil File Added: 5098.png
2019-05-17 07:35 guillermogil Triggers an Emergency Pack => No
2019-05-29 17:38 AugustoMauch Note Added: 0112239
2019-05-29 17:38 AugustoMauch Status new => feedback
2019-05-30 09:33 mtaal Note Added: 0112257
2019-05-30 11:21 mtaal Note Added: 0112264
2019-05-30 11:32 mtaal Assigned To StoreServer => mtaal
2019-05-30 11:32 mtaal Review Assigned To => AugustoMauch
2019-05-30 11:32 hgbot Checkin
2019-05-30 11:32 hgbot Note Added: 0112265
2019-05-30 11:32 hgbot Status feedback => resolved
2019-05-30 11:32 hgbot Resolution open => fixed
2019-05-30 11:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c6015c2882012fd884d23c8e3dc800db22c7490a [^]
2019-05-30 12:42 hgbot Checkin
2019-05-30 12:42 hgbot Note Added: 0112266
2019-05-31 08:59 AugustoMauch Note Added: 0112288
2019-05-31 08:59 AugustoMauch Status resolved => closed
2019-05-31 09:00 AugustoMauch Steps to Reproduce Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker