Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028276 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2014-11-25 12:38 | 2014-12-30 23:26 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 7d2529edd900 | ||||
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 | Sandrahuguet | |||||||
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 | 0028276: testADataAccessLevel should not test HQL tables, as they don't have a physical database table | |||||||
Description | The AccessLevelTest.testADataAccessLevel tests if the current client/org of all tables in the database is valid for the access level defined for that entity. It does so my executing a query to the database table associated with the ad_table. ad_tables based on manual datasources or on hql queries do not have database tables associated, so this test should not consider them. This was already working properly for ad_tables based on manual datasources, but not for datasources based on HQL tables. | |||||||
Steps To Reproduce | This issue was discovered when the project that replaces P&E manual datasources with HQL-based tables was pushed to Try. - Create an ad_table based on a HQL query. It should have a client column and an organization column. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0071976) hgbot (developer) 2014-11-25 12:40 |
Repository: erp/devel/pi Changeset: 7d2529edd9001939d5c4a0ba122d70e7b386ec7c Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Tue Nov 25 12:39:46 2014 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/7d2529edd9001939d5c4a0ba122d70e7b386ec7c [^] Fixes issue 28276: AccessLevelTest does not take into account HQL based tables The AccessLevelTest.testADataAccessLevel tests if the current client/org of all tables in the database is valid for the access level defined for that entity. It does so my executing a query to the database table associated with the ad_table. ad_tables based on manual datasources or on hql queries do not have database tables associated, so this test should not consider them. This was already working properly for ad_tables based on manual datasources, but not for datasources based on HQL tables. --- M src-test/src/org/openbravo/test/security/AccessLevelTest.java --- |
(0072172) Sandrahuguet (viewer) 2014-12-01 08:41 |
Verified |
(0073137) hudsonbot (viewer) 2014-12-30 23:26 |
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/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-11-25 12:38 | AugustoMauch | New Issue | |
2014-11-25 12:38 | AugustoMauch | Assigned To | => AugustoMauch |
2014-11-25 12:38 | AugustoMauch | OBNetwork customer | => No |
2014-11-25 12:38 | AugustoMauch | Modules | => Core |
2014-11-25 12:38 | AugustoMauch | Triggers an Emergency Pack | => No |
2014-11-25 12:38 | AugustoMauch | Issue Monitored: Sandrahuguet | |
2014-11-25 12:38 | AugustoMauch | Review Assigned To | => Sandrahuguet |
2014-11-25 12:40 | hgbot | Checkin | |
2014-11-25 12:40 | hgbot | Note Added: 0071976 | |
2014-11-25 12:40 | hgbot | Status | new => resolved |
2014-11-25 12:40 | hgbot | Resolution | open => fixed |
2014-11-25 12:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7d2529edd9001939d5c4a0ba122d70e7b386ec7c [^] |
2014-12-01 08:41 | Sandrahuguet | Note Added: 0072172 | |
2014-12-01 08:41 | Sandrahuguet | Status | resolved => closed |
2014-12-30 23:26 | hudsonbot | Checkin | |
2014-12-30 23:26 | hudsonbot | Note Added: 0073137 |
Copyright © 2000 - 2009 MantisBT Group |