Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032795 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | critical | have not tried | 2016-04-27 10:29 | 2016-06-17 19:37 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | inigosanchez | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 8bb50118e525 | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q3 | |||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2016-04-22 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/24a6162afaa5 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032795: G/L Item combo appears empty in Add Payment process definition | |||||||
Description | G/L Item combo appears empty in Add Payment process definition | |||||||
Steps To Reproduce | As F&B Admin: - Create a new Payment In - Click on Add Details button - In GL Items grid, click on [Add New] - Click on G/L Item drop down and realize no items are shown - Realize in the log the following exception is thrown: c59635e2 2910446 [http-8080-5] ERROR org.openbravo.service.datasource.DataSourceServlet - Property gLItem does not exist for entity FIN_Payment org.openbravo.base.util.CheckException: Property gLItem does not exist for entity FIN_Payment at org.openbravo.base.util.Check.isNotNull(Check.java:72) at org.openbravo.base.model.Entity.getProperty(Entity.java:568) at org.openbravo.base.model.Entity.getProperty(Entity.java:550) at org.openbravo.service.datasource.BaseDataSourceService.checkFetchDatasourceAccess(BaseDataSourceService.java:174) at org.openbravo.service.datasource.DataSourceServlet.doFetch(DataSourceServlet.java:280) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:773) at javax.servlet.http.HttpServlet.service(HttpServlet.java:643) | |||||||
Tags | No tags attached. | |||||||
Attached Files | AddPayment.png [^] (207,697 bytes) 2016-04-27 10:33
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0086056) hgbot (developer) 2016-04-28 16:07 |
Repository: erp/devel/pi Changeset: e8c0df5664deca28ef28bc90ef088d6ec532043c Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Thu Apr 28 13:52:52 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/e8c0df5664deca28ef28bc90ef088d6ec532043c [^] Related with issue 32795: G/L Item does not works properly. The problem was how entities were getting from selectors. It has been refactor checkFetchDatasourceAccess() to solved this problem. Now checkFetchDatasourceAccess obtain entities from selectors in two ways: * By using getEntity() method. * By using table of the selector. Besides it has been added a test case in DataSourceSecurity to take into account this case. --- M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/BaseDataSourceService.java M src-test/src/org/openbravo/test/datasource/DataSourceSecurity.java --- |
(0086124) hgbot (developer) 2016-05-02 17:14 |
Repository: erp/devel/pi Changeset: 8bb50118e525a8f61172bf8273d4c6914a60bbf2 Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com> Date: Mon May 02 17:13:23 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/8bb50118e525a8f61172bf8273d4c6914a60bbf2 [^] Fixed issue 32795: Calculate permissions for some target entities selectors The problem was that it is not take into account access permissions for some entities selectors. This selectors are in tabs of P&E WindowReferences. It have been implemented new logic in EntityAccessChecker to take into account target entities of selectors allocated into tabs of WindowReferences. For example in Payment In > Add Details > GL Items section > G/L Item selector. --- M src/org/openbravo/dal/security/EntityAccessChecker.java --- |
(0086228) hgbot (developer) 2016-05-06 08:12 |
Repository: erp/devel/pi Changeset: 2e18a7bfef3aa7ca1f0412b0439e57103fa6c1c0 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri May 06 08:10:54 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/2e18a7bfef3aa7ca1f0412b0439e57103fa6c1c0 [^] related to bug 32795: G/L Item combo appears empty in Add Payment Removed unneded if statement --- M src/org/openbravo/dal/security/EntityAccessChecker.java --- |
(0086229) alostale (manager) 2016-05-06 08:14 |
code reviewed tested: - reported error does not appear anymore - with a restricted role having access to only Payment In window, everything works as expected |
(0087498) hudsonbot (developer) 2016-06-17 19:37 |
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/0dc7be081b1c [^] Maturity status: Test |
(0087507) hudsonbot (developer) 2016-06-17 19:37 |
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/0dc7be081b1c [^] Maturity status: Test |
(0087523) hudsonbot (developer) 2016-06-17 19:37 |
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/0dc7be081b1c [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2016-04-27 10:29 | aferraz | New Issue | |
2016-04-27 10:29 | aferraz | Assigned To | => platform |
2016-04-27 10:29 | aferraz | Modules | => Core |
2016-04-27 10:29 | aferraz | Regression level | => Pre packaging ( pi ) |
2016-04-27 10:29 | aferraz | Regression introduced in release | => pi |
2016-04-27 10:29 | aferraz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/diff/24a6162afaa5/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/BaseDataSourceService.java [^] |
2016-04-27 10:29 | aferraz | Triggers an Emergency Pack | => No |
2016-04-27 10:33 | aferraz | File Added: AddPayment.png | |
2016-04-27 10:37 | alostale | Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/diff/24a6162afaa5/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/BaseDataSourceService.java [^] => https://code.openbravo.com/erp/devel/pi/rev/24a6162afaa5 [^] |
2016-04-27 10:40 | alostale | Regression date | => 2016-04-22 |
2016-04-27 10:40 | alostale | Relationship added | caused by 0032728 |
2016-04-27 10:40 | alostale | Status | new => scheduled |
2016-04-27 10:40 | alostale | Assigned To | platform => inigosanchez |
2016-04-28 16:07 | hgbot | Checkin | |
2016-04-28 16:07 | hgbot | Note Added: 0086056 | |
2016-05-02 17:14 | hgbot | Checkin | |
2016-05-02 17:14 | hgbot | Note Added: 0086124 | |
2016-05-02 17:14 | hgbot | Status | scheduled => resolved |
2016-05-02 17:14 | hgbot | Resolution | open => fixed |
2016-05-02 17:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8bb50118e525a8f61172bf8273d4c6914a60bbf2 [^] |
2016-05-02 17:37 | inigosanchez | Review Assigned To | => alostale |
2016-05-06 08:12 | hgbot | Checkin | |
2016-05-06 08:12 | hgbot | Note Added: 0086228 | |
2016-05-06 08:14 | alostale | Note Added: 0086229 | |
2016-05-06 08:14 | alostale | Status | resolved => closed |
2016-05-06 08:14 | alostale | Fixed in Version | => 3.0PR16Q3 |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087498 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087507 | |
2016-06-17 19:37 | hudsonbot | Checkin | |
2016-06-17 19:37 | hudsonbot | Note Added: 0087523 | |
2016-12-29 15:13 | inigosanchez | Relationship added | causes 0034823 |
Copyright © 2000 - 2009 MantisBT Group |