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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017011
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-05-04 17:292011-05-26 16:59
ReporterAinhoaPagolaView Statuspublic 
Assigned Toiperdomo 
PriorityurgentResolutionfixedFixed in Version3.0MP0
StatusclosedFix in branchFixed in SCM revision59534db679e3
ProjectionnoneETAnoneTarget Version3.0MP0
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 8.4Database version8.3Ant version1.7
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

0017011: Filter expression in OBUISEL selectors not filtering

DescriptionIn the example explained below, the filter expression is only working for the picklist, but not for the search pop-up.
Steps To Reproduce* To test this issue at least 2 products are needed. This products must have an Attribute set. And some transactions with these products are needed. For example, "vino tinto" and "vino blanco".

1) Create a new selector as defined in [1]
- In Defined Selector tab set:
  * Table: "M_transaction"
  * HQL where clause: e.attributeSetValue!='0'
  * Filter Expression: "e.product.id='" + OB.getParameters().get('inpmProductId') + "'"

- In Defined Selector Field create 4 new fields:
  * Movement date - Property: movementDate
  * Identificator - Property: _identifier
  * Attribute - Property: attributeSetValue
  * Article - Property: product.
For all the fields check central maintenance, sortable, filtable and show in grid.

2) Go to Tables and Columns and select OrderLine table.
- Select M_AttributeSetInstance_ID column and change its reference to OBUISEL_Selector Reference.
- Set Reference Serach Key to the new selector.

3) Change to Admin rol. Go to Saler Order. Create a new header. Create a new line selecting the product "vino tinto". The attribute selector will be displayed. Click on the picklist and check that its attributes are displayed. Open the search selector. Every product is displayed - no filtering is done.

[1] http://wiki.openbravo.com/wiki/Projects/Selector/Developers_Manual#Step_1:_Define_a_Reference [^] [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00169803.0MP0 closediperdomo Property field for OBUISEL selectors not visible in grid 
related to defect 00169793.0MP0 closediperdomo Property path in OBUISEL selectors fields is not working 
related to defect 00170063.0MP0 closediperdomo New selector not refreshing properly data 
related to defect 00170103.0MP0 closediperdomo Default Expression in new selectors not working for search reference type column 
blocks defect 00170083.0MP0 closedmaite Not possible to set a column different to the ID with OBUISEL selectors 

-  Notes
(0037309)
hgbot (developer)
2011-05-23 11:41

Repository: erp/devel/pi
Changeset: 59534db679e31422f0b6b62684fd5a57a1d20d96
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon May 23 11:39:52 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/59534db679e31422f0b6b62684fd5a57a1d20d96 [^]

Fixes issue 17011: Added missing filterClass to request parameters

---
M modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
---
(0037532)
hudsonbot (developer)
2011-05-26 07:46

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

Maturity status: Test
(0037613)
maite (developer)
2011-05-26 16:59

verified.
When clicking on the pick-list, its attributes are displayed. And also when opening the search selector

- Issue History
Date Modified Username Field Change
2011-05-04 17:29 AinhoaPagola New Issue
2011-05-04 17:29 AinhoaPagola Assigned To => alostale
2011-05-04 17:29 AinhoaPagola Modules => Core
2011-05-04 17:32 AinhoaPagola Relationship added related to 0016980
2011-05-04 17:33 AinhoaPagola Relationship added related to 0016979
2011-05-04 17:35 AinhoaPagola Relationship added related to 0017006
2011-05-04 17:37 AinhoaPagola Relationship added blocks 0017008
2011-05-04 17:37 AinhoaPagola Relationship added related to 0017010
2011-05-04 17:38 AinhoaPagola Issue Monitored: networkb
2011-05-05 09:06 alostale Target Version => 3.0RC8
2011-05-05 09:06 alostale Assigned To alostale => iperdomo
2011-05-05 09:07 alostale Status new => scheduled
2011-05-05 10:27 gorka_gil Target Version 3.0RC8 => 3.0MP0
2011-05-11 16:44 maite Issue Monitored: maite
2011-05-17 09:15 iperdomo Priority urgent => normal
2011-05-17 13:41 iperdomo Priority normal => urgent
2011-05-23 11:41 hgbot Checkin
2011-05-23 11:41 hgbot Note Added: 0037309
2011-05-23 11:41 hgbot Status scheduled => resolved
2011-05-23 11:41 hgbot Resolution open => fixed
2011-05-23 11:41 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/59534db679e31422f0b6b62684fd5a57a1d20d96 [^]
2011-05-26 07:46 hudsonbot Checkin
2011-05-26 07:46 hudsonbot Note Added: 0037532
2011-05-26 16:59 maite Note Added: 0037613
2011-05-26 16:59 maite Status resolved => closed
2011-05-26 16:59 maite Fixed in Version => 3.0MP0


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker