Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038582 | Openbravo ERP | A. Platform | public | 2018-05-18 12:31 | 2018-05-30 09:40 |
|
Reporter | kchoperena | |
Assigned To | caristu | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q3 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038582: [SERQA 4076]:In back-end, if we modify a date filter after make a search, it cannot be launch another search without clean filte |
Description | In back-end, if we have enabled lazy filtering functionality the date filters does not work properly. Used config in the attached image
|
Steps To Reproduce | Steps:
1.- Apply any value in a date filter (Ej.: Since 16-05-2018)
2.- Search the data, click on V
3.- Modify the value of the same filter (Ej.: Since 17-05-2018)
Expected results: It is not possible launch another search without clean the filter. Also, the image of V tick will be not available.
Video: https://drive.google.com/file/d/1QZ7bN-266saznAl4nwHOj8Vw9K-DR1Is/view [^] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | LazyConfig.png (27,928) 2018-05-18 12:31 https://issues.openbravo.com/file_download.php?file_id=11805&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2018-05-18 12:31 | kchoperena | New Issue | |
2018-05-18 12:31 | kchoperena | Assigned To | => caristu |
2018-05-18 12:31 | kchoperena | File Added: LazyConfig.png | |
2018-05-18 12:31 | kchoperena | OBNetwork customer | => Yes |
2018-05-18 12:31 | kchoperena | Modules | => Core |
2018-05-18 12:31 | kchoperena | Resolution time | => 1527804000 |
2018-05-18 12:31 | kchoperena | Triggers an Emergency Pack | => No |
2018-05-25 15:41 | caristu | Status | new => scheduled |
2018-05-28 11:45 | hgbot | Checkin | |
2018-05-28 11:45 | hgbot | Note Added: 0104743 | |
2018-05-28 11:45 | hgbot | Status | scheduled => resolved |
2018-05-28 11:45 | hgbot | Resolution | open => fixed |
2018-05-28 11:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c412dd9e950d263589ff6efbcf06589e8a1e2f29 [^] |
2018-05-28 13:30 | hgbot | Checkin | |
2018-05-28 13:30 | hgbot | Note Added: 0104747 | |
2018-05-28 13:33 | hgbot | Checkin | |
2018-05-28 13:33 | hgbot | Note Added: 0104748 | |
2018-05-28 13:34 | caristu | Review Assigned To | => alostale |
2018-05-28 16:08 | hudsonbot | Checkin | |
2018-05-28 16:08 | hudsonbot | Note Added: 0104753 | |
2018-05-29 14:42 | alostale | Note Added: 0104770 | |
2018-05-29 14:42 | alostale | Status | resolved => new |
2018-05-29 14:42 | alostale | Resolution | fixed => open |
2018-05-29 17:12 | hudsonbot | Checkin | |
2018-05-29 17:12 | hudsonbot | Note Added: 0104777 | |
2018-05-29 17:12 | hudsonbot | Checkin | |
2018-05-29 17:12 | hudsonbot | Note Added: 0104778 | |
2018-05-29 18:44 | hgbot | Checkin | |
2018-05-29 18:44 | hgbot | Note Added: 0104788 | |
2018-05-29 18:44 | caristu | Status | new => scheduled |
2018-05-29 18:44 | caristu | Status | scheduled => resolved |
2018-05-29 18:44 | caristu | Resolution | open => fixed |
2018-05-30 00:14 | hudsonbot | Checkin | |
2018-05-30 00:14 | hudsonbot | Note Added: 0104796 | |
2018-05-30 09:40 | alostale | Note Added: 0104800 | |
2018-05-30 09:40 | alostale | Status | resolved => closed |
2018-05-30 09:40 | alostale | Fixed in Version | => 3.0PR18Q3 |
Notes |
|
(0104743)
|
hgbot
|
2018-05-28 11:45
|
|
Repository: erp/devel/pi
Changeset: c412dd9e950d263589ff6efbcf06589e8a1e2f29
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 28 09:03:30 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c412dd9e950d263589ff6efbcf06589e8a1e2f29 [^]
fixes bug 38582: wrong behavior after setting a date filter having lazy filtering
The grid was not being set as ready to filter after setting a date filter using the date range dialog. Now, we explicitly put the grid in the correct status in that case.
Together with this, a new function called getSourceGrid() has been added, which provides the reference to the parent (source) grid of the date filter. And we are using it where needed.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
|
|
|
(0104747)
|
hgbot
|
2018-05-28 13:30
|
|
Repository: erp/devel/pi
Changeset: d6e036ff58fe1a7818919e819b1c7acfe2cf1476
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 28 13:29:53 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d6e036ff58fe1a7818919e819b1c7acfe2cf1476 [^]
related to issue 38582: properly check whether the range has changed
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
|
|
|
(0104748)
|
hgbot
|
2018-05-28 13:33
|
|
Repository: erp/devel/pi
Changeset: 4bc8745f6b75c8370f98f7045c8e2391c8bc036c
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon May 28 13:33:35 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4bc8745f6b75c8370f98f7045c8e2391c8bc036c [^]
related to issue 38582: check first if lazy filtering is enabled
Micro-optimization to avoid checking the changes in the date range if lazy filtering is not enabled
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
|
|
|
|
|
|
|
Reopening.
Test cases:
OK - 1. Fill date directly in grid's text box
OK - 2. Fill date from in popup
OK - 3. Fill date to in poup
OK - 4. Change date from in popup
OK - 5. Change date to in popup
OK - 6. Change filter in grid's text box
OK - 7. Remove entered filter in grid's text box
FAIL - 8. Use the Clear button in poup
-> the apply tick is not enabled |
|
|
|
|
|
|
|
|
(0104788)
|
hgbot
|
2018-05-29 18:44
|
|
Repository: erp/devel/pi
Changeset: 8818ecc71e135f5076058471d85db1e8e8b412f5
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue May 29 18:33:30 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8818ecc71e135f5076058471d85db1e8e8b412f5 [^]
related to issue 38582: enable apply tick when the range is cleared
Check rangeItemValue if there is no new range defined:
- If rangeItemValue is not null, it means that the range has been cleared: apply tick should be enabled
- If rangeItemValue is null, the range has not changed (it is still empty): apply tick should not be enabled
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
|
|
|
|
|
|
|
Reviewed.
Tested
OK - 1. Fill date directly in grid's text box
OK - 2. Fill date from in popup
OK - 3. Fill date to in poup
OK - 4. Change date from in popup
OK - 5. Change date to in popup
OK - 6. Change filter in grid's text box
OK - 7. Remove entered filter in grid's text box
OK - 8. Use the Clear button in poup |
|