Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015496 | Openbravo ERP | A. Platform | public | 2010-12-21 09:59 | 2011-05-24 10:57 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0015496: Referenced properties are not accessible in derived read mode | ||||
Description | The derived readable concept allows access to id, identifier, audit info, active and client/organization. There is however another property which should be accessible in derived readable mode: the properties which are referenced by other properties. For example the language entity is not referenced on the primary key but on another property (language) when generating json the reference to the language table results in an error because the language property is not accessible in derived read mode. The stack trace: a3196480 866626 [http-8080-4] ERROR org.openbravo.base.exception.OBSecurityException - Entity ADLanguage is not directly readable, only id and identifier properties are readable, property ADLanguage.language is neither of these. org.openbravo.base.exception.OBSecurityException: Entity ADLanguage is not directly readable, only id and identifier properties are readable, property ADLanguage.language is neither of these. at org.openbravo.base.structure.BaseOBObject.checkDerivedReadable(BaseOBObject.java:172) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:140) at org.openbravo.service.json.DataToJsonConverter.addBaseOBObject(DataToJsonConverter.java:209) at org.openbravo.service.json.DataToJsonConverter.toJsonObject(DataToJsonConverter.java:148) at org.openbravo.service.json.DataToJsonConverter.toJsonObjects(DataToJsonConverter.java:102) at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:202) at org.openbravo.service.datasource.DefaultDataSourceService.fetch(DefaultDataSourceService.java:69) at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:163) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:202) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225) | ||||
Steps To Reproduce | |||||
Proposed Solution | |||||
Additional Information | |||||
Tags | closingMay2011 | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-12-21 09:59 | mtaal | New Issue | |||
2010-12-21 09:59 | mtaal | Assigned To | => mtaal | ||
2010-12-21 09:59 | mtaal | Modules | => Core | ||
2010-12-21 10:03 | hgbot | Checkin | |||
2010-12-21 10:03 | hgbot | Note Added: 0033336 | |||
2010-12-21 10:03 | hgbot | Status | new => resolved | ||
2010-12-21 10:03 | hgbot | Resolution | open => fixed | ||
2010-12-21 10:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fc9792f53ddc4eecf81b2de8a5ce400372a29efb [^] | ||
2010-12-30 13:15 | hudsonbot | Checkin | |||
2010-12-30 13:15 | hudsonbot | Note Added: 0033464 | |||
2011-05-24 10:02 | dalsasua | Tag Attached: closingMay2011 | |||
2011-05-24 10:57 | dalsasua | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|