Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029216Openbravo ERPA. Platformpublic2015-03-10 12:202015-03-10 22:50
alostale 
alostale 
immediatemajorhave not tried
closedfixed 
5
 
 
AugustoMauch
Core
Production - QA Approved
2014-10-10
3.0PR14Q4
http://code.openbravo.com/erp/devel/pi/rev/616e60ce9a707b1d34b3e809af0f96faea749c0b [^]
No
0029216: can't prevent filtering FK by identifier from Grid Configuration
Preventing filtering FK by identifier from Grid Configuration does not work.

When this prevented, it is not possible to filter FK fields, a js error is thrown and the filter is not applied.
-As System Admin
-Go to Grid Configuration at Window/Tab level
-Create a new record for Sales Order
-Add new record in Field tab
  - Field: Business Partner
  - Allow Filtering FK by its Identifier: No
-As OB admin
-Go to Sales Order
-Try to filter by BP by selecting one in the BP filter drop down
  -> ERROR:
     * Filter is not applied
     * This error can be seen in JS console: Uncaught TypeError: Cannot read property 'alwaysFilterFksByIdentifier' of undefined
No tags attached.
related to defect 00291733.0PR15Q4 closed egoitz Performance problem when filtering in Return to Vendor pick and execute lines having a big amount of data 
depends on backport 00292173.0PR15Q1.2 closed alostale can't prevent filtering FK by identifier from Grid Configuration 
caused by defect 0027788 closed AugustoMauch Filters don't work properly on Manage Stock 
Issue History
2015-03-10 12:20alostaleNew Issue
2015-03-10 12:20alostaleAssigned To => alostale
2015-03-10 12:20alostaleModules => Core
2015-03-10 12:20alostaleRegression level => Production - QA Approved
2015-03-10 12:20alostaleRegression date => 2014-10-10
2015-03-10 12:20alostaleRegression introduced in release => 3.0PR14Q4
2015-03-10 12:20alostaleRegression introduced by commit => http://code.openbravo.com/erp/devel/pi/rev/616e60ce9a707b1d34b3e809af0f96faea749c0b [^]
2015-03-10 12:20alostaleTriggers an Emergency Pack => No
2015-03-10 12:20alostaleReview Assigned To => AugustoMauch
2015-03-10 12:21alostaleStatusnew => scheduled
2015-03-10 12:21alostaleRelationship addedrelated to 0029173
2015-03-10 12:23alostaleRelationship addedcaused by 0027788
2015-03-10 12:55alostaleNote Added: 0075376
2015-03-10 14:04hgbotCheckin
2015-03-10 14:04hgbotNote Added: 0075390
2015-03-10 14:04hgbotStatusscheduled => resolved
2015-03-10 14:04hgbotResolutionopen => fixed
2015-03-10 14:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5cc98c60fb3c02ccebf85a2ab28aae0812b0b93f [^]
2015-03-10 15:30AugustoMauchNote Added: 0075403
2015-03-10 15:30AugustoMauchStatusresolved => closed
2015-03-10 22:50hudsonbotCheckin
2015-03-10 22:50hudsonbotNote Added: 0075425

Notes
(0075376)
alostale   
2015-03-10 12:55   
Executed test plan:

* TestLink: http://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-7753 [^]
* Grid Configuration, Allow Filter FK by identifier. Tested both in standard window and P&E
  - at system level
  - at window level
  - at field level
* Issue 0027788
  * Manage Stock filter by Storage Bin
    - Partial filtering: filters by identifier
    - Selecting from drop down: filters by id
  * Manual DS backwards comaptibility
    - Partial filtering: filters by identifier
    - Selecting from drop down: filters by identifier
(0075390)
hgbot   
2015-03-10 14:04   
Repository: erp/devel/pi
Changeset: 5cc98c60fb3c02ccebf85a2ab28aae0812b0b93f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 10 13:01:12 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5cc98c60fb3c02ccebf85a2ab28aae0812b0b93f [^]

fixed bug 29216: can't prevent filtering FK by identifier from Grid Configuration

  It was not possible to prevent filtering FKs by identifier using Grid Configuration
  because the js code added to ensure backwards compatibility for manual datasources
  was trying to find this property in an incorrect place which was undefined, causing
  a js exception which prevented the flow to continue.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---
(0075403)
AugustoMauch   
2015-03-10 15:30   
Code reviewed and verified in pi@5cc98c60fb3c
(0075425)
hudsonbot   
2015-03-10 22:50   
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/b89b825e6235 [^]
Maturity status: Test