Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029217Openbravo ERPA. Platformpublic2015-03-10 12:202015-04-01 08:31
alostale 
alostale 
immediatemajorhave not tried
closedfixed 
5
 
3.0PR15Q1.23.0PR15Q1.2 
AugustoMauch
Core
Production - QA Approved
2014-10-10
3.0PR14Q4
http://code.openbravo.com/erp/devel/pi/rev/616e60ce9a707b1d34b3e809af0f96faea749c0b [^]
No
0029217: 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
Approved
blocks defect 0029216 closed alostale can't prevent filtering FK by identifier from Grid Configuration 
Issue History
2015-03-10 12:21alostaleTypedefect => backport
2015-03-10 12:21alostaleTarget Version => 3.0PR15Q1.2
2015-03-10 14:03hgbotCheckin
2015-03-10 14:03hgbotNote Added: 0075387
2015-03-10 14:03hgbotStatusscheduled => resolved
2015-03-10 14:03hgbotResolutionopen => fixed
2015-03-10 14:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/bed0ac82dc5cc9981366609a29aaec224eb7934d [^]
2015-03-10 17:19AugustoMauchNote Added: 0075416
2015-03-10 17:19AugustoMauchStatusresolved => closed
2015-03-10 17:19AugustoMauchFixed in Version => 3.0PR15Q1.2
2015-03-13 13:51dmitry_mezentsevTag Attached: Approved
2015-04-01 08:06hgbotCheckin
2015-04-01 08:06hgbotNote Added: 0076206
2015-04-01 08:06hgbotStatusclosed => resolved
2015-04-01 08:06hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/bed0ac82dc5cc9981366609a29aaec224eb7934d [^] => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/bed0ac82dc5cc9981366609a29aaec224eb7934d [^]
2015-04-01 08:31priyamStatusresolved => closed
2015-04-01 08:31priyamNote Added: 0076269

Notes
(0075387)
hgbot   
2015-03-10 14:03   
Repository: erp/backports/3.0PR15Q1.2
Changeset: bed0ac82dc5cc9981366609a29aaec224eb7934d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 10 13:01:12 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q1.2/rev/bed0ac82dc5cc9981366609a29aaec224eb7934d [^]

fixed bug 29217: 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
---
(0075416)
AugustoMauch   
2015-03-10 17:19   
Code reviewed and verified in [1]@bed0ac82dc5c

[1] https://code.openbravo.com/erp/backports/3.0PR15Q1.2/ [^]
(0076206)
hgbot   
2015-04-01 08:06   
Repository: erp/backports/3.0PR15Q2
Changeset: bed0ac82dc5cc9981366609a29aaec224eb7934d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Mar 10 13:01:12 2015 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/bed0ac82dc5cc9981366609a29aaec224eb7934d [^]

fixed bug 29217: 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
---
(0076269)
priyam   
2015-04-01 08:31   
closed again, as the status changed due the merge tag of 3.0PR15Q1.2 to backports/3.0PR15Q2