Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0035878 | Retail Modules | StoreServer | public | 2017-04-28 12:14 | 2017-05-01 17:28 | |||||||
Reporter | AugustoMauch | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR17Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | mtaal | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0035878: Missing setAdminMode in MultiServerJSONSymmetricDSStarter | |||||||||||
Description | A missing setAdminMode in the MultiServerJSONSymmetricDSStarter class results in this exception being logged: ERROR org.openbravo.mobile.core.process.JSONRowConverter - Error in JSON process: Entity OBMOBC_SERVER_DEFINITION is not directly readable, only id and identifier properties are readable, property OBMOBC_SERVER_DEFINITION.mobileServerKey is neither of these. org.openbravo.base.exception.OBSecurityException: Entity OBMOBC_SERVER_DEFINITION is not directly readable, only id and identifier properties are readable, property OBMOBC_SERVER_DEFINITION.mobileServerKey is neither of these. at org.openbravo.base.structure.BaseOBObject.checkDerivedReadable(BaseOBObject.java:295) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:255) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:232) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:213) at org.openbravo.mobile.core.MobileServerDefinition.getMobileServerKey(MobileServerDefinition.java:233) at org.openbravo.retail.storeserver.synchronization.MultiServerJSONSymmetricDSStarter.doAction(MultiServerJSONSymmetricDSStarter.java:61) I have not been able to reproduce it locally, but it was reproduced in a test in BUT. As it makes total sense to wrap the method in an adminMode block, it is better just to add it to be safe. | |||||||||||
Steps To Reproduce | In BUT's test environment: - Create an order. This error will be logged: ERROR org.openbravo.mobile.core.process.JSONRowConverter - Error in JSON process: Entity OBMOBC_SERVER_DEFINITION is not directly readable, only id and identifier properties are readable, property OBMOBC_SERVER_DEFINITION.mobileServerKey is neither of these. org.openbravo.base.exception.OBSecurityException: Entity OBMOBC_SERVER_DEFINITION is not directly readable, only id and identifier properties are readable, property OBMOBC_SERVER_DEFINITION.mobileServerKey is neither of these. at org.openbravo.base.structure.BaseOBObject.checkDerivedReadable(BaseOBObject.java:295) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:255) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:232) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:213) at org.openbravo.mobile.core.MobileServerDefinition.getMobileServerKey(MobileServerDefinition.java:233) at org.openbravo.retail.storeserver.synchronization.MultiServerJSONSymmetricDSStarter.doAction(MultiServerJSONSymmetricDSStarter.java:61) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-04-28 12:14 | AugustoMauch | New Issue | ||||||||||
2017-04-28 12:14 | AugustoMauch | Assigned To | => AugustoMauch | |||||||||
2017-04-28 12:14 | AugustoMauch | Triggers an Emergency Pack | => No | |||||||||
2017-04-28 13:07 | AugustoMauch | Review Assigned To | => mtaal | |||||||||
2017-04-28 13:08 | hgbot | Checkin | ||||||||||
2017-04-28 13:08 | hgbot | Note Added: 0096262 | ||||||||||
2017-04-28 13:08 | hgbot | Status | new => resolved | |||||||||
2017-04-28 13:08 | hgbot | Resolution | open => fixed | |||||||||
2017-04-28 13:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b3ce4434817e090ee39b11ed420ce80d31436b6d [^] | |||||||||
2017-05-01 17:28 | mtaal | Note Added: 0096287 | ||||||||||
2017-05-01 17:28 | mtaal | Status | resolved => new | |||||||||
2017-05-01 17:28 | mtaal | Resolution | fixed => open | |||||||||
2017-05-01 17:28 | mtaal | Status | new => scheduled | |||||||||
2017-05-01 17:28 | mtaal | Note Added: 0096288 | ||||||||||
2017-05-01 17:28 | mtaal | Status | scheduled => resolved | |||||||||
2017-05-01 17:28 | mtaal | Fixed in Version | => RR17Q3 | |||||||||
2017-05-01 17:28 | mtaal | Resolution | open => fixed | |||||||||
2017-05-01 17:28 | mtaal | Note Added: 0096289 | ||||||||||
2017-05-01 17:28 | mtaal | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|