Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020629
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2012-05-29 12:022012-06-06 10:14
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in Version3.0MP12
StatusclosedFix in branchFixed in SCM revision5f2f8cfff590
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020629: Selector using custom query filters out system client

DescriptionThe Custom Query datasource for selectors adds a client filter that only include current client. This is wrong as readable clients include System.
Steps To ReproduceCreate 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 SolutionInclude System client ('0') in the client filter of the datasource.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0049554)
hgbot (developer)
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
---
(0049589)
hudsonbot (developer)
2012-06-02 17:18

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/d1995ebc438c [^]

Maturity status: Test
(0049639)
mirurita (developer)
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 (--)

- 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-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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker