Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037867 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2018-02-09 10:54 | 2018-02-22 18:19 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3d95f9654e98 | ||||
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 | caristu | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037867: Missing admin mode in HQLDataSourceService | |||||||
Description | There is a missing admin mode in HQLDataSourceService.getTableFromParameters. Usually this issue is not reproducible because the user's role has readable access to the AD_TABLE table, but if the user has limited access an exception will be thrown. | |||||||
Steps To Reproduce | Create a role with very limited access: - User Level: Client + Organization - Manual: True - Org Access: All - User Assignment: Openbravo - Window Access: Return From Customer, Editable Field = true Log in with Openbravo, switch to the new role. - Open the Return from Customer window - Create a record in the header tab - Click on the Pick/Edit Lines button. The following error will be shown in the console: 425945 [http-bio-8080-exec-9] ERROR org.openbravo.base.exception.OBSecurityException - Entity ADTable is not readable by the user 100 org.openbravo.base.exception.OBSecurityException: Entity ADTable is not readable by the user 100 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:343) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:596) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:583) at org.openbravo.dal.service.OBDal.get(OBDal.java:297) at org.openbravo.service.datasource.HQLDataSourceService.getTableFromParameters(HQLDataSourceService.java:223) at org.openbravo.service.datasource.HQLDataSourceService.getData(HQLDataSourceService.java:161) at org.openbravo.service.datasource.ReadOnlyDataSourceService.fetchJSONObject(ReadOnlyDataSourceService.java:135) at org.openbravo.service.datasource.ReadOnlyDataSourceService.fetch(ReadOnlyDataSourceService.java:68) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0102298) hgbot (developer) 2018-02-09 10:56 |
Repository: erp/devel/pi Changeset: 3d95f9654e988bdddbfe214ccfdd12a396fa9af7 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Fri Feb 09 10:56:05 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/3d95f9654e988bdddbfe214ccfdd12a396fa9af7 [^] Fixes issue 37867: Adds missing admin mode --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java --- |
(0102301) hgbot (developer) 2018-02-09 11:37 |
Repository: erp/devel/pi Changeset: 05d03896eb4a7a415509660f15eada0ed1d7a27b Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Fri Feb 09 11:36:42 2018 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/05d03896eb4a7a415509660f15eada0ed1d7a27b [^] Related with issue 37867: Commented out code meant for debug has been restored --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java --- |
(0102329) caristu (viewer) 2018-02-12 12:24 |
Code reviewed + tested OK. |
(0102740) hudsonbot (viewer) 2018-02-22 18:19 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/980a6ad5bbf5 [^] Maturity status: Test |
(0102742) hudsonbot (viewer) 2018-02-22 18:19 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/980a6ad5bbf5 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2018-02-09 10:54 | AugustoMauch | New Issue | |
2018-02-09 10:54 | AugustoMauch | Assigned To | => AugustoMauch |
2018-02-09 10:54 | AugustoMauch | OBNetwork customer | => No |
2018-02-09 10:54 | AugustoMauch | Modules | => Core |
2018-02-09 10:54 | AugustoMauch | Triggers an Emergency Pack | => No |
2018-02-09 10:56 | AugustoMauch | Review Assigned To | => caristu |
2018-02-09 10:56 | hgbot | Checkin | |
2018-02-09 10:56 | hgbot | Note Added: 0102298 | |
2018-02-09 10:56 | hgbot | Status | new => resolved |
2018-02-09 10:56 | hgbot | Resolution | open => fixed |
2018-02-09 10:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3d95f9654e988bdddbfe214ccfdd12a396fa9af7 [^] |
2018-02-09 11:37 | hgbot | Checkin | |
2018-02-09 11:37 | hgbot | Note Added: 0102301 | |
2018-02-12 12:24 | caristu | Note Added: 0102329 | |
2018-02-12 12:24 | caristu | Status | resolved => closed |
2018-02-12 12:24 | caristu | Fixed in Version | => 3.0PR18Q2 |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102740 | |
2018-02-22 18:19 | hudsonbot | Checkin | |
2018-02-22 18:19 | hudsonbot | Note Added: 0102742 |
Copyright © 2000 - 2009 MantisBT Group |