Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0028586 | Openbravo ERP | A. Platform | public | 2015-01-13 15:34 | 2017-06-01 14:53 | |||||||
Reporter | alostale | |||||||||||
Assigned To | alostale | |||||||||||
Priority | urgent | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR16Q3 | Fixed in Version | 3.0PR16Q3 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | caristu | |||||||||||
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 | 0028586: SimpleProduct selector shows errors in log when there are translations installed | |||||||||||
Description | When there is at least a translation installed, using SimpleProduct selector logs errors if the role has no derived read access to uOMTrl entity. Even the error appears the selector works fine, but it always shows the base name for the uom (if it is present) instead of the translated one. | |||||||||||
Steps To Reproduce | -Install Spanish translation -Create a manual role with access only to Sales Invoice window -Login with that role -Go to Sales Invoice window -Create a new header -Create a new Line and open product drop down --> This error appears in log 8737052 [http-8080-10] ERROR org.openbravo.base.exception.OBSecurityException - Entity UOMTrl is not readable by the user 100 org.openbravo.base.exception.OBSecurityException: Entity UOMTrl is not readable by the user 100 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:346) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:596) at org.openbravo.dal.service.OBDal.createCriteria(OBDal.java:458) at org.openbravo.base.structure.BaseOBObject.getDataValue(BaseOBObject.java:144) at org.openbravo.base.structure.BaseOBObject.get(BaseOBObject.java:253) at org.openbravo.base.structure.IdentifierProvider.getIdentifier(IdentifierProvider.java:133) at org.openbravo.base.structure.IdentifierProvider.getIdentifier(IdentifierProvider.java:78) at org.openbravo.base.structure.BaseOBObject.getIdentifier(BaseOBObject.java:195) at org.openbravo.service.json.DataToJsonConverter.addBaseOBObject(DataToJsonConverter.java:355) | |||||||||||
Proposed Solution | When DAL grants derived access to an entity, it should also grant it for its translation entity if exists. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-01-13 15:34 | alostale | New Issue | ||||||||||
2015-01-13 15:34 | alostale | Assigned To | => AugustoMauch | |||||||||
2015-01-13 15:34 | alostale | Modules | => Core | |||||||||
2015-01-13 15:34 | alostale | Triggers an Emergency Pack | => No | |||||||||
2015-03-11 10:07 | alostale | Status | new => acknowledged | |||||||||
2015-03-17 14:38 | alostale | Assigned To | AugustoMauch => platform | |||||||||
2015-06-09 15:32 | alostale | Priority | normal => urgent | |||||||||
2015-07-03 11:43 | alostale | Target Version | => 3.0PR15Q4 | |||||||||
2015-07-03 11:45 | alostale | Status | acknowledged => scheduled | |||||||||
2015-07-03 11:45 | alostale | Assigned To | platform => NaroaIriarte | |||||||||
2015-07-03 11:52 | shuehner | Note Added: 0078637 | ||||||||||
2015-07-15 17:25 | NaroaIriarte | Note Added: 0078827 | ||||||||||
2015-07-15 17:25 | NaroaIriarte | Type | defect => design defect | |||||||||
2015-10-01 07:52 | alostale | Target Version | 3.0PR15Q4 => | |||||||||
2015-11-11 15:05 | NaroaIriarte | Assigned To | NaroaIriarte => platform | |||||||||
2015-11-11 16:11 | alostale | Status | scheduled => acknowledged | |||||||||
2015-11-13 14:10 | shuehner | Note Added: 0081824 | ||||||||||
2016-03-30 11:44 | alostale | Type | design defect => defect | |||||||||
2016-03-30 11:44 | alostale | Target Version | => 3.0PR16Q3 | |||||||||
2016-03-30 11:44 | alostale | Status | acknowledged => scheduled | |||||||||
2016-04-01 14:46 | hgbot | Checkin | ||||||||||
2016-04-01 14:46 | hgbot | Note Added: 0085396 | ||||||||||
2016-04-01 14:46 | hgbot | Status | scheduled => resolved | |||||||||
2016-04-01 14:46 | hgbot | Resolution | open => fixed | |||||||||
2016-04-01 14:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/840a1ebd69c8922e2f73de1df9884adc4ed6609a [^] | |||||||||
2016-04-01 14:46 | alostale | Assigned To | platform => alostale | |||||||||
2016-04-01 14:46 | alostale | Review Assigned To | => caristu | |||||||||
2016-04-08 10:19 | caristu | Note Added: 0085510 | ||||||||||
2016-04-08 10:19 | caristu | Status | resolved => closed | |||||||||
2016-04-08 10:19 | caristu | Fixed in Version | => 3.0PR16Q3 | |||||||||
2016-06-17 19:36 | hudsonbot | Checkin | ||||||||||
2016-06-17 19:36 | hudsonbot | Note Added: 0087412 | ||||||||||
2017-06-01 14:53 | alostale | Relationship added | blocks 0036162 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|