Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020629 | Openbravo ERP | A. Platform | public | 2012-05-29 12:02 | 2012-06-06 10:14 |
|
Reporter | gorkaion | |
Assigned To | gorkaion | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Gentoo |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0MP12 | |
Merge Request Status | |
Review Assigned To | |
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 | 0020629: Selector using custom query filters out system client |
Description | The Custom Query datasource for selectors adds a client filter that only include current client. This is wrong as readable clients include System. |
Steps To Reproduce | Create a custom query selector based on a table that include records in System (Currency, AlertRules, Country,...)
Include it on a Window or Process.
Check that records in System are not available. |
Proposed Solution | Include System client ('0') in the client filter of the datasource. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-05-29 12:02 | gorkaion | New Issue | |
2012-05-29 12:02 | gorkaion | Assigned To | => gorkaion |
2012-05-29 12:02 | gorkaion | Modules | => Core |
2012-05-29 12:02 | gorkaion | OBNetwork customer | => No |
2012-05-31 18:29 | hgbot | Checkin | |
2012-05-31 18:29 | hgbot | Note Added: 0049554 | |
2012-05-31 18:29 | hgbot | Status | new => resolved |
2012-05-31 18:29 | hgbot | Resolution | open => fixed |
2012-05-31 18:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5f2f8cfff59086f9f4d9d3b88eb8bcfaa66c3238 [^] |
2012-06-02 17:18 | hudsonbot | Checkin | |
2012-06-02 17:18 | hudsonbot | Note Added: 0049589 | |
2012-06-06 10:14 | mirurita | Note Added: 0049639 | |
2012-06-06 10:14 | mirurita | Status | resolved => closed |
2012-06-06 10:14 | mirurita | Fixed in Version | => 3.0MP12 |
Notes |
|
(0049554)
|
hgbot
|
2012-05-31 18:29
|
|
Repository: erp/devel/pi
Changeset: 5f2f8cfff59086f9f4d9d3b88eb8bcfaa66c3238
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue May 29 12:03:21 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5f2f8cfff59086f9f4d9d3b88eb8bcfaa66c3238 [^]
Fixed issue 20629.Filter by readable clients instead of current client.
---
M modules/org.openbravo.userinterface.selector/src/org/openbravo/userinterface/selector/CustomQuerySelectorDatasource.java
---
|
|
|
|
|
|
(0049639)
|
mirurita
|
2012-06-06 10:14
|
|
Testing Plan
1) Check as System Administrator 'Product Attribute Selector' reference. It queries m_attributesetinstance table and there is always a record for client=0 and org=0.
2) Create a new Return from Customer
- Org: F&B España - Región Norte
- Business Partner: Alimentos y Supermercados, S.A
3) Create a new preference
- Org: *
- Property: RM Allow Orphan Line
- Value: Y
4) Logout and login again
5) Click on Insert Orphan Line
6) Select a product: Agua sin gas
7) Check on Attribute selector that the m_attributesetinstance with id=0 is there (--) |
|