View Issue Details

IDProjectCategoryView StatusLast Update
0008862mantisbtbugtrackerpublic2014-01-21 16:24
Reporterjreese Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version1.1.1 
Summary0008862: View Issues highlights all sub-project issues as recent
Description
  • Cloned from bug 0008453, pretty much just replace My View with View Issues. *

The My View page incorrectly highlights all issues as recent when viewing the page with a sub-project selected. The problem is due to My View page incorrectly using the user's default filter information (rather than the view's filter), which returns as boolean false when a sub-project is selected.

There are really two problems at play here:

  • The Current User API call current_user_get_bug_filter() returns false when sub-projects are selected.
  • The My View page does not use the views' filter information at all when choosing how to highlight recent issue, among other things.

The solution for the My View page at least is to check for boolean false from current_user_get_bug_filter() and to set a blank array in its place, and then to merge the user's filter with the views' filters, with the user's filter taking precedence. This solution is attached as a patch, but will be submitted to CVS shortly.

The solution for current_user_get_bug_filter() is not yet known by me.

Steps To Reproduce

Select a parent project.
Click View Issues.
All issues shown are marked as recent.

TagsNo tags attached.

Relationships

related to 0008453 closedjreese Sub-project My View highlights all issues as recent 

Activities

jreese

jreese

2008-02-06 11:40

reporter   ~0016970

Note that this behavior does not happen to issues from the currently selected project, regardless if it has parent projects. It only happens to sub-projects' issues that appear in the parent project's View Issues list.

vboctor

vboctor

2008-05-29 01:16

manager   ~0017934

I wouldn't block 1.1.2 on this issue, and hence changed removed the target version.

atrol

atrol

2014-01-21 16:24

developer   ~0039125

Unassigned after having been assigned for a long time without progress.