Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040802Openbravo ERPA. Platformpublic2019-05-07 13:462019-05-27 13:54
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR19Q3 
alostale
Core
Production - Confirmed Stable
2017-11-28
3.0PR18Q1
https://code.openbravo.com/erp/devel/pi/rev/90ee5c965823996a7b4c0ae17d3a3ca71e3fc703 [^]
No
0040802: Use as filter option is not working properly with date columns
Use as filter option is not working properly with date columns
1) Go to the [Process Monitor] window
2) Select any record
3) Move the cursor to the "Start Time" column, right click and select "Set As Filter" option
4) Note that the text in the filter field is correctly updated but the result of the filtering is not correct
No tags attached.
related to defect 0023203 closed AugustoMauch filter does not work with creation date fields 
related to design defect 0040794 new platform Is not possible to filter a DateTime column by time 
related to defect 0040735 closed caristu Records can not be exported to CSV 
depends on backport 00409163.0PR19Q2.1 closed caristu Use as filter option is not working properly with date columns 
depends on backport 00409173.0PR19Q1.2 closed caristu Use as filter option is not working properly with date columns 
caused by defect 0037079 closed caristu more records than expected are fetched when filtering by date ranges 
Issue History
2019-05-07 13:46caristuNew Issue
2019-05-07 13:46caristuAssigned To => platform
2019-05-07 13:46caristuModules => Core
2019-05-07 13:46caristuTriggers an Emergency Pack => No
2019-05-07 13:46caristuAssigned Toplatform => caristu
2019-05-20 13:04caristuStatusnew => scheduled
2019-05-20 16:25hgbotCheckin
2019-05-20 16:25hgbotNote Added: 0111933
2019-05-20 16:25hgbotStatusscheduled => resolved
2019-05-20 16:25hgbotResolutionopen => fixed
2019-05-20 16:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2bc577948e7d6e36e475a17d6baf2030dda8580a [^]
2019-05-20 16:25caristuReview Assigned To => alostale
2019-05-20 16:25caristuRelationship addedrelated to 0023203
2019-05-20 16:25caristuRelationship addedcaused by 0037079
2019-05-20 16:26caristuRegression level => Production - Confirmed Stable
2019-05-20 16:26caristuRegression date => 2017-11-28
2019-05-20 16:26caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/90ee5c965823996a7b4c0ae17d3a3ca71e3fc703 [^]
2019-05-20 16:26caristuRegression introduced in release => 3.0PR18Q1
2019-05-20 16:28caristuRelationship addedrelated to 0040794
2019-05-20 16:29caristuRelationship addedrelated to 0040735
2019-05-20 18:07hgbotCheckin
2019-05-20 18:07hgbotNote Added: 0111935
2019-05-21 15:17hudsonbotCheckin
2019-05-21 15:17hudsonbotNote Added: 0112054
2019-05-21 15:17hudsonbotCheckin
2019-05-21 15:17hudsonbotNote Added: 0112055
2019-05-24 10:36alostaleNote Added: 0112114
2019-05-24 10:36alostaleStatusresolved => closed
2019-05-24 10:36alostaleFixed in Version => 3.0PR19Q3
2019-05-24 10:48hgbotCheckin
2019-05-24 10:48hgbotNote Added: 0112117
2019-05-27 13:54hudsonbotCheckin
2019-05-27 13:54hudsonbotNote Added: 0112173

Notes
(0111933)
hgbot   
2019-05-20 16:25   
Repository: erp/devel/pi
Changeset: 2bc577948e7d6e36e475a17d6baf2030dda8580a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 20 16:11:56 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2bc577948e7d6e36e475a17d6baf2030dda8580a [^]

fixes bug 40802: "Use as filter" is not working properly with DateTime columns

  After this changeset[1] it was fixed the ability to filter properly by a range of DateTime values. However, this change broke the correct filtering by a single DateTime value in this type of columns.

  But when filtering a DateTime column with a single DateTime value (when not filtering by a range of dates), in general, the idea is to use the plain date value and build the criteria properly in the backend(See[2]).

  Therefore now we are adapting the way that the criteria is build using the "Use as Filter" menu option to generate the criteria in the same way as when the filter is entered manually in a DateTime column. And this is done by building the criteria to filter the DateTime column using a plain date.


[1] https://code.openbravo.com/erp/devel/pi/rev/90ee5c965823996a7b4c0ae17d3a3ca71e3fc703 [^]
[2] https://issues.openbravo.com/view.php?id=23203 [^]

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0111935)
hgbot   
2019-05-20 18:07   
Repository: erp/devel/pi
Changeset: 72ee96e5a9f7b25949363e2658bbcf36c1af1f2b
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 20 18:06:19 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/72ee96e5a9f7b25949363e2658bbcf36c1af1f2b [^]

related to bug 40802: additional code improvements

  - Remove useless assignment
  - Use single return statement
  - Remove checks which always evaluate to true

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0112054)
hudsonbot   
2019-05-21 15:17   
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/9b8f37d9d85e [^]
Maturity status: Test
(0112055)
hudsonbot   
2019-05-21 15:17   
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/9b8f37d9d85e [^]
Maturity status: Test
(0112114)
alostale   
2019-05-24 10:36   
reviewed + tested
(0112117)
hgbot   
2019-05-24 10:48   
Repository: erp/devel/pi
Changeset: 6a1f11921b4b0e4c888c1a515b844084e5ce1150
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri May 24 10:47:32 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6a1f11921b4b0e4c888c1a515b844084e5ce1150 [^]

related to bug 40802: simplify return statement

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0112173)
hudsonbot   
2019-05-27 13:54   
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/bdad8ace6f89 [^]
Maturity status: Test