Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026696 | Openbravo ERP | A. Platform | public | 2014-05-26 16:56 | 2014-08-08 18:54 |
|
Reporter | egoitz | |
Assigned To | shankarb | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q4 | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0026696: The filter does not work when changing the ad_org_id column to a table reference displayng the value column. |
Description | The filter does not work when changing the ad_org_id column to a table reference displayng the value column. |
Steps To Reproduce | -Define a module and a template
-Define a new table reference for ad_org table, displaying the value column
-Using a template change the reference of the ad_org_id column on the m_product table to use the new reference used.
-Compile and login
-Go to the product window and try to filter using the organization table.
*The filter does not show any data. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0024181 | 3.0MP26 | closed | AugustoMauch | In table reference the flag displayed value is not working in grid view | related to | defect | 0026950 | 3.0PR14Q3 | closed | AugustoMauch | Reference filter in Columns tab is not working properly. | related to | defect | 0028811 | | acknowledged | Triage Platform Base | Table reference filter shows different information from the grid under some circumnstances | related to | defect | 0030800 | | closed | caristu | Filter on Property field in a table reference column doesn't work |
|
Attached Files | TableReferenceFilter.diff (8,506) 2014-07-02 10:03 https://issues.openbravo.com/file_download.php?file_id=7031&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2014-05-26 16:56 | egoitz | New Issue | |
2014-05-26 16:56 | egoitz | Assigned To | => AugustoMauch |
2014-05-26 16:56 | egoitz | Modules | => Core |
2014-05-26 16:56 | egoitz | Resolution time | => 1402351200 |
2014-05-26 16:56 | egoitz | Triggers an Emergency Pack | => No |
2014-05-27 07:24 | shankarb | Assigned To | AugustoMauch => shankarb |
2014-05-27 13:58 | jonalegriaesarte | Relationship added | related to 0024181 |
2014-06-03 08:57 | shankarb | Status | new => scheduled |
2014-06-03 08:57 | shankarb | fix_in_branch | => pi |
2014-06-03 09:15 | shankarb | Note Added: 0067701 | |
2014-06-03 09:15 | shankarb | Status | scheduled => feedback |
2014-06-18 15:51 | shankarb | Note Added: 0068129 | |
2014-06-18 15:51 | shankarb | Status | feedback => new |
2014-06-19 09:21 | shankarb | Status | new => scheduled |
2014-06-23 12:53 | shankarb | Review Assigned To | => AugustoMauch |
2014-06-23 12:53 | shankarb | fix_in_branch | pi => |
2014-06-23 12:53 | shankarb | Issue Monitored: AugustoMauch | |
2014-06-23 12:54 | shankarb | Note Added: 0068248 | |
2014-06-23 12:54 | shankarb | Status | scheduled => resolved |
2014-06-23 12:54 | shankarb | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/e3da458ad088 [^] |
2014-06-23 12:54 | shankarb | Resolution | open => fixed |
2014-06-23 12:55 | shankarb | Note Added: 0068249 | |
2014-06-24 10:05 | hgbot | Checkin | |
2014-06-24 10:05 | hgbot | Note Added: 0068268 | |
2014-06-25 01:35 | hudsonbot | Checkin | |
2014-06-25 01:35 | hudsonbot | Note Added: 0068294 | |
2014-06-27 13:00 | AugustoMauch | Relationship added | related to 0026950 |
2014-06-27 13:03 | AugustoMauch | Note Added: 0068404 | |
2014-06-27 13:03 | AugustoMauch | Status | resolved => new |
2014-06-27 13:03 | AugustoMauch | Resolution | fixed => open |
2014-06-30 17:45 | hgbot | Checkin | |
2014-06-30 17:45 | hgbot | Note Added: 0068458 | |
2014-06-30 17:45 | hgbot | Status | new => resolved |
2014-06-30 17:45 | hgbot | Resolution | open => fixed |
2014-06-30 17:45 | hgbot | Fixed in SCM revision | https://code.openbravo.com/erp/devel/pi/rev/e3da458ad088 [^] => http://code.openbravo.com/erp/devel/pi/rev/4ccdae6e598965c5c5ac98bc2763a9b702691b16 [^] |
2014-07-01 04:30 | hudsonbot | Checkin | |
2014-07-01 04:30 | hudsonbot | Note Added: 0068469 | |
2014-07-01 09:19 | alostale | Note Added: 0068474 | |
2014-07-01 09:19 | alostale | Status | resolved => new |
2014-07-01 09:19 | alostale | Resolution | fixed => open |
2014-07-01 14:04 | hgbot | Checkin | |
2014-07-01 14:04 | hgbot | Note Added: 0068484 | |
2014-07-01 14:04 | hgbot | Checkin | |
2014-07-01 14:04 | hgbot | Note Added: 0068485 | |
2014-07-01 14:04 | hgbot | Checkin | |
2014-07-01 14:04 | hgbot | Note Added: 0068486 | |
2014-07-01 17:06 | AugustoMauch | Target Version | PR14Q3 => |
2014-07-01 17:39 | alostale | Target Version | => PR14Q4 |
2014-07-02 10:03 | shankarb | File Added: TableReferenceFilter.diff | |
2014-07-02 10:03 | shankarb | Note Added: 0068498 | |
2014-07-02 16:47 | hudsonbot | Checkin | |
2014-07-02 16:47 | hudsonbot | Note Added: 0068511 | |
2014-07-02 16:47 | hudsonbot | Checkin | |
2014-07-02 16:47 | hudsonbot | Note Added: 0068512 | |
2014-07-02 16:47 | hudsonbot | Checkin | |
2014-07-02 16:47 | hudsonbot | Note Added: 0068513 | |
2014-07-08 09:40 | hgbot | Checkin | |
2014-07-08 09:40 | hgbot | Note Added: 0068551 | |
2014-07-08 09:40 | hgbot | Status | new => resolved |
2014-07-08 09:40 | hgbot | Resolution | open => fixed |
2014-07-08 09:40 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/4ccdae6e598965c5c5ac98bc2763a9b702691b16 [^] => http://code.openbravo.com/erp/devel/pi/rev/f65a28b4406644be68b7873449fde107f5d720f7 [^] |
2014-07-14 12:49 | AugustoMauch | Note Added: 0068616 | |
2014-07-14 12:49 | AugustoMauch | Status | resolved => new |
2014-07-14 12:49 | AugustoMauch | Resolution | fixed => open |
2014-07-18 07:36 | hgbot | Checkin | |
2014-07-18 07:36 | hgbot | Note Added: 0068719 | |
2014-07-18 07:36 | hgbot | Status | new => resolved |
2014-07-18 07:36 | hgbot | Resolution | open => fixed |
2014-07-18 07:36 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/f65a28b4406644be68b7873449fde107f5d720f7 [^] => http://code.openbravo.com/erp/devel/pi/rev/bbb998610a9098516fc7c3053c7b260010bb1da6 [^] |
2014-07-18 12:40 | AugustoMauch | Note Added: 0068731 | |
2014-07-18 12:40 | AugustoMauch | Status | resolved => new |
2014-07-18 12:40 | AugustoMauch | Resolution | fixed => open |
2014-07-21 16:08 | hgbot | Checkin | |
2014-07-21 16:08 | hgbot | Note Added: 0068768 | |
2014-07-21 16:08 | hgbot | Status | new => resolved |
2014-07-21 16:08 | hgbot | Resolution | open => fixed |
2014-07-21 16:08 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/bbb998610a9098516fc7c3053c7b260010bb1da6 [^] => http://code.openbravo.com/erp/devel/pi/rev/210aa57e9a791144789b6695a656b4909d632399 [^] |
2014-07-22 12:10 | hgbot | Checkin | |
2014-07-22 12:10 | hgbot | Note Added: 0068791 | |
2014-07-22 12:35 | shankarb | Note Added: 0068797 | |
2014-07-22 14:27 | hgbot | Checkin | |
2014-07-22 14:27 | hgbot | Note Added: 0068805 | |
2014-07-23 11:40 | hgbot | Checkin | |
2014-07-23 11:40 | hgbot | Note Added: 0068834 | |
2014-07-29 11:08 | alostale | Note Added: 0068953 | |
2014-07-29 11:08 | alostale | Status | resolved => closed |
2014-07-29 11:08 | alostale | Fixed in Version | => 3.0PR14Q4 |
2014-08-08 18:52 | hudsonbot | Checkin | |
2014-08-08 18:52 | hudsonbot | Note Added: 0069144 | |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069180 | |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069196 | |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069205 | |
2014-08-08 18:53 | hudsonbot | Checkin | |
2014-08-08 18:53 | hudsonbot | Note Added: 0069208 | |
2014-08-08 18:54 | hudsonbot | Checkin | |
2014-08-08 18:54 | hudsonbot | Note Added: 0069217 | |
2015-01-29 16:20 | caristu | Relationship added | related to 0028811 |
2015-10-26 14:29 | alostale | Relationship added | related to 0030800 |
Notes |
|
(0067701)
|
shankarb
|
2014-06-03 09:15
|
|
|
|
(0068129)
|
shankarb
|
2014-06-18 15:51
|
|
|
|
(0068248)
|
shankarb
|
2014-06-23 12:54
|
|
26696: Table references work with display column other than identifiers
When table references were displayed, always the identifier columns were displayed.
The actual value was displayed in cases of composite identifiers which in turn was another identifier,
eg., Financial account in Customer. Now it uses the display column in all cases.
The criteriaDisplayField parameter is already being used for displaying the appropriate value. Set it's value correctly for table references
Added additional logic in DefaultJsonDataService to include the display field column to the formed BOB object.
This fix is not risky as it affects only the displaying of FK filter values from the fetched result. |
|
|
(0068249)
|
shankarb
|
2014-06-23 12:55
|
|
|
|
(0068268)
|
hgbot
|
2014-06-24 10:05
|
|
|
|
|
|
|
|
Reopened because it causes https://issues.openbravo.com/view.php?id=26950. [^]
Client side filtering does not work properly. For instance, the Reference column filter of the Column Tab does not work. The generated criteria field name is now reference$name, it used to be reference$_identifier. In the grid data only the reference (id) and reference$_identifier is stored, so it is not possible to filter by reference$name locally. |
|
|
(0068458)
|
hgbot
|
2014-06-30 17:45
|
|
Repository: erp/devel/pi
Changeset: 4ccdae6e598965c5c5ac98bc2763a9b702691b16
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Jun 30 21:10:52 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/4ccdae6e598965c5c5ac98bc2763a9b702691b16 [^]
Fixes Issue 26696 : Adaptive filtering works properly
When performing local filtering, always compare with identifier as the grid contains only the id and identifier.
---
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
|
|
|
|
|
|
|
Reopened: not working properly |
|
|
(0068484)
|
hgbot
|
2014-07-01 14:04
|
|
Repository: erp/devel/pi
Changeset: 56bae435ed54a616a29076b60d931fc07f9e7964
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Jul 01 17:30:28 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/56bae435ed54a616a29076b60d931fc07f9e7964 [^]
Related to issue 26696 : Backout changeset 4ccdae6e5989
---
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
|
|
|
(0068485)
|
hgbot
|
2014-07-01 14:04
|
|
Repository: erp/devel/pi
Changeset: d651b9fbdd8512600534b69061d09b48406374dd
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Jul 01 17:30:56 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d651b9fbdd8512600534b69061d09b48406374dd [^]
Related to issue 26696 : Backout changeset 391fdc807c26
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
|
|
|
(0068486)
|
hgbot
|
2014-07-01 14:04
|
|
Repository: erp/devel/pi
Changeset: 27996e18590d5b70be2bd85095c32d9a798431f9
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Jul 01 17:32:24 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/27996e18590d5b70be2bd85095c32d9a798431f9 [^]
Related to issue 26696 : Backout changeset e3da458ad088
Backout all changes related to this issue.
The issue will be fixed completely on the server side, instead of having logic in both client and server.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/FKComboUIDefinition.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonConstants.java
---
|
|
|
(0068498)
|
shankarb
|
2014-07-02 10:03
|
|
Fix attached in the issue. Will be reviewed and pushed in Q4 |
|
|
|
|
|
|
|
|
|
|
|
(0068551)
|
hgbot
|
2014-07-08 09:40
|
|
Repository: erp/devel/pi
Changeset: f65a28b4406644be68b7873449fde107f5d720f7
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Sun Jul 06 12:13:03 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f65a28b4406644be68b7873449fde107f5d720f7 [^]
Fixes issue 26696: Filters of Table references work properly.
When table references were displayed, always the identifier columns were displayed.
The actual value was displayed in cases of composite identifiers which in turn was another identifier,
eg., Financial account in Customer. Now it uses the display column in all cases.
The identifier is set with appropritate value in filters also.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/FKComboUIDefinition.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonConstants.java
---
|
|
|
|
Reopened because it is still reproducible |
|
|
(0068719)
|
hgbot
|
2014-07-18 07:36
|
|
Repository: erp/devel/pi
Changeset: bbb998610a9098516fc7c3053c7b260010bb1da6
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Jul 17 14:42:48 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/bbb998610a9098516fc7c3053c7b260010bb1da6 [^]
Fixes Issue 26696: Filtering of records works in all cases
Fixes filtering of records in all cases whether the field is primitive or a composite reference.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
|
Reopened because the filter drop down is not populated properly when filtered.
To reproduce it I did the following:
- Created a Table Reference:
* Table: AD_ORG
* Displayed Column: Updated By
Assign this reference to the AD_ORG_ID column of the C_ORDER table. Compile and restart tomcat.
As F&B Admin:
- Open the Sales Order window.
- Clear the filters. Check that a User name is shown as the identifier or the organizations (in my case, System).
- Open the filter drop down of the Organization column. It is opened properly.
- Enter System in the filter editor. See that the filter drop down is now empty. This is wrong.
It seems that when the filter drop down is filtered, the filter is being applied on the identifier of the column and not on the column selected in the Table Reference. |
|
|
(0068768)
|
hgbot
|
2014-07-21 16:08
|
|
Repository: erp/devel/pi
Changeset: 210aa57e9a791144789b6695a656b4909d632399
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Jul 21 19:35:39 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/210aa57e9a791144789b6695a656b4909d632399 [^]
Fixes issue 26696 : Filters work for table references
Filters are displayed properly if the display column is primitive or non primitive.
When a field that references another table is used, the displayed value is the identifier of the referred table.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
(0068791)
|
hgbot
|
2014-07-22 12:10
|
|
Repository: erp/devel/pi
Changeset: 10341843a241206ad792529e34d06b15fe21bc17
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Jul 22 15:39:38 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/10341843a241206ad792529e34d06b15fe21bc17 [^]
Related to issue 26696 : Fixes filtering and sorting
Filtering and sorting is done using the displayed column of the table reference.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
(0068797)
|
shankarb
|
2014-07-22 12:35
|
|
|
|
(0068805)
|
hgbot
|
2014-07-22 14:27
|
|
Repository: erp/devel/pi
Changeset: e624a8506d5548567e4eeb8c3e6aa46967291789
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Tue Jul 22 17:55:48 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e624a8506d5548567e4eeb8c3e6aa46967291789 [^]
Related to issue 26696 : Display column is computed only for table ref and not tableDir ref.
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
(0068834)
|
hgbot
|
2014-07-23 11:40
|
|
Repository: erp/devel/pi
Changeset: 276c7bb840e7fc3df1034248b42be9aea43dfa36
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Wed Jul 23 15:08:27 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/276c7bb840e7fc3df1034248b42be9aea43dfa36 [^]
Related to issue 26696 : Fixes null pointer exception
---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|