Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040894 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | minor | always | 2019-05-17 07:35 | 2019-05-31 09:00 | |||
Reporter | guillermogil | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | c6015c288201 | ||||
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 | AugustoMauch | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040894: OBMOBC_MsgCentralServerNotAvailable is shown instead of the message | |||||||
Description | OBMOBC_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 Reproduce | In 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0112239) AugustoMauch (administrator) 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 (viewer) 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 (viewer) 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 (administrator) 2019-05-31 08:59 |
Code reviewed and verified |
![]() |
|||
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 | OBNetwork customer | => Gold |
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 |