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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029661
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfaceminoralways2015-04-22 08:482015-05-07 22:16
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in Version3.0PR15Q3
StatusclosedFix in branchFixed in SCM revisionab67d1e3012a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029661: Dates are not cleared properly when switching between saved views that contains a filter on the same date field

DescriptionDates are not cleared properly when switching between saved views that contains a filter on the same date field. In that circumstances, after changing the view it can happen that the displayed date range shows information of the previous saved view.
Steps To Reproduce1) Go to the Purchase Order window
2) Remove the implicit filter and add a filter in the order date field, for example: "From 20-04-2013 To 22-04-2013". Save the view and set it as defaut.
3) Remove the filters to create a new saved view. Add the following filter in the order date field: "From: 21-04-2013"
4) Close the window and reopen it again. The window is loaded with the view created in step 2)
5) Switch the view to show the saved view created in step 3). Notice that the range filter displayed in the sales order field is "From 21-04-2013 To 22-04-2013". It should show only "From 21-04-2013"
Proposed SolutionClear the range item before setting the new criteria
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00295543.0PR15Q3 closedcaristu Date filters are not cleared when switching between saved views 

-  Notes
(0076707)
hgbot (developer)
2015-04-22 20:12

Repository: erp/devel/pi
Changeset: ab67d1e3012a6d803cca58d6f6d934ab25782117
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Apr 22 20:11:58 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ab67d1e3012a6d803cca58d6f6d934ab25782117 [^]

fixes issue 29661: Date filters not cleared after switch between saved views

Date filters were not cleared properly when switching between saved views that contains a filter on the same date field.
To solve this problem the range is now cleared before applying the criteria

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
---
(0076755)
alostale (manager)
2015-04-24 14:13

code reviewed

Tested by switching from:
- saved view to standard
- standard to saved
- setting a default view different than standard
(0077146)
hudsonbot (developer)
2015-05-07 22:16

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

- Issue History
Date Modified Username Field Change
2015-04-22 08:48 caristu New Issue
2015-04-22 08:48 caristu Assigned To => platform
2015-04-22 08:48 caristu Modules => Core
2015-04-22 08:48 caristu Triggers an Emergency Pack => No
2015-04-22 08:48 caristu Assigned To platform => caristu
2015-04-22 08:49 caristu Issue Monitored: networkb
2015-04-22 08:49 caristu Relationship added related to 0029554
2015-04-22 08:50 caristu Steps to Reproduce Updated View Revisions
2015-04-22 20:08 caristu Review Assigned To => alostale
2015-04-22 20:08 caristu Issue Monitored: alostale
2015-04-22 20:12 hgbot Checkin
2015-04-22 20:12 hgbot Note Added: 0076707
2015-04-22 20:12 hgbot Status new => resolved
2015-04-22 20:12 hgbot Resolution open => fixed
2015-04-22 20:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ab67d1e3012a6d803cca58d6f6d934ab25782117 [^]
2015-04-24 14:13 alostale Note Added: 0076755
2015-04-24 14:13 alostale Status resolved => closed
2015-04-24 14:13 alostale Fixed in Version => 3.0PR15Q3
2015-05-07 22:16 hudsonbot Checkin
2015-05-07 22:16 hudsonbot Note Added: 0077146


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker