Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025636
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2014-02-03 10:332014-02-12 18:30
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q2
StatusclosedFix in branchFixed in SCM revisione698ee97b844
ProjectionnoneETAnoneTarget Version3.0PR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Todbaz
Web browser
ModulesCore
Regression levelProduction - Confirmed Stable
Regression date2013-11-07
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/cd5e1a38c069995d64d183c4e4e6d41259f5bed9 [^]
Triggers an Emergency PackNo
Summary

0025636: Saved view filter reapplied after adding a column in grid

DescriptionHaving a saved view that includes a filter. When this filter is removed and a new column is added to grid the filter is reapplied.
Steps To Reproduce-In a professional instance
-Open Sales Order window, remove default filter, filter docno: 1000001
-Save view and set as default
-Close Sales Order window and reopen it -> it appears filtered (OK)
-Click on funnel icon to remove filters (see issue 0025634)
-Show a new column in grid
  *Filter defined in the saved view is applied again
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0024687 closeddbaz Double DataSource request when there using a saved view 
related to defect 0023333 closedshankarb Direct link to view does not work when a filter is active 
related to defect 00227303.0MP20 closedmtaal Tab appears blank when it has a view defined 
related to defect 00256353.0PR14Q2 closedalostale FK drop down restriction is kept after removing saved view filter 
related to defect 0025972 closedalostale incorrect navigation to windows with default saved view 
blocks defect 00256343.0PR14Q2 closedalostale Funnel icon is kept after removing filters defined in a saved view 

-  Notes
(0063848)
alostale (manager)
2014-02-03 10:42

Regression: works fine in mp27
(0063890)
alostale (manager)
2014-02-04 16:03

The problem is introduced by fix for issue 0024687. Now when there is a saved view with criteria, this criteria is saved in view.initialCriteria and it is never removed. When getting criteria, initialCriteria is applied in case there is no other criteria, this was happening in the 3 reported cases.

Executed test cases:
-Adding a new column doesn't add the filter defined in the saved view
-Clicking the funnel icon removes filter and the icon is also removed 0025634
-Removing filter shows all available items in FK drop down 0025635
-Direct links with criteria to windows with saved views with criteria apply url's criteria instead of saved one 0023333
-Issue 0022730 is not reproduced after this fix
(0063893)
hgbot (developer)
2014-02-04 16:13

Repository: erp/devel/pi
Changeset: e698ee97b844cfac10002299da1281ca8ee08789
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 04 16:12:14 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e698ee97b844cfac10002299da1281ca8ee08789 [^]

fixed bug 25634, fixed bug 25635, fixed bug 25636

  Proper management of filtering removal within windows with saved views that
  include filtering.

  This filtering was preserved in initialCriteria which was retrieved after filter
  was removed.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
---
(0063901)
dbaz (developer)
2014-02-04 20:29

Reviewed @ changeset: 21915 - 5915bbb61611
(0064158)
hudsonbot (developer)
2014-02-12 18:30

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/d1a5bb862230 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-02-03 10:33 alostale New Issue
2014-02-03 10:33 alostale Assigned To => AugustoMauch
2014-02-03 10:33 alostale Modules => Core
2014-02-03 10:33 alostale Triggers an Emergency Pack => No
2014-02-03 10:34 alostale Relationship added blocks 0025634
2014-02-03 10:34 alostale Relationship added related to 0025635
2014-02-03 10:42 alostale Regression level => Production - QA Approved
2014-02-03 10:42 alostale Note Added: 0063848
2014-02-03 10:42 alostale Priority normal => immediate
2014-02-03 18:42 AugustoMauch Regression level Production - QA Approved => Production - Confirmed Stable
2014-02-03 18:42 AugustoMauch Regression date => 2013-11-07
2014-02-03 18:42 AugustoMauch Regression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/cd5e1a38c069995d64d183c4e4e6d41259f5bed9 [^]
2014-02-04 15:26 alostale Relationship added related to 0024687
2014-02-04 15:27 alostale Assigned To AugustoMauch => alostale
2014-02-04 15:28 alostale Relationship added related to 0023333
2014-02-04 15:29 alostale Relationship added related to 0022730
2014-02-04 16:03 alostale Note Added: 0063890
2014-02-04 16:13 hgbot Checkin
2014-02-04 16:13 hgbot Note Added: 0063893
2014-02-04 16:13 hgbot Status new => resolved
2014-02-04 16:13 hgbot Resolution open => fixed
2014-02-04 16:13 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e698ee97b844cfac10002299da1281ca8ee08789 [^]
2014-02-04 16:14 alostale Review Assigned To => dbaz
2014-02-04 20:29 dbaz Note Added: 0063901
2014-02-04 20:29 dbaz Status resolved => closed
2014-02-04 20:29 dbaz Fixed in Version => 3.0MP32
2014-02-12 18:30 hudsonbot Checkin
2014-02-12 18:30 hudsonbot Note Added: 0064158
2014-03-12 15:27 alostale Relationship added related to 0025972


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker