Project

General

Profile

Bug #11253

All content view filters are shown in every content view

Added by John Mitsch over 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Content view filters that are made for one specific content view will also show in every other content view, and raise an error similar to

2015-07-29T16:30:19 [app] [D] With body: {"displayMessage":"Couldn't find ContentViewFilter with id=1","errors":["Couldn't find Conten
tViewFilter with id=1"]}

when accessed outside of the content view they were created in.

Possibly because the global variable here is incorrect
https://github.com/Katello/katello/blob/master/app/controllers/katello/api/v2/content_view_filters_controller.rb#L21

Associated revisions

Revision a123aa7c (diff)
Added by John Mitsch over 7 years ago

Fixes #11253 All content view filters are shown in every content view

Revision 92f2c3fe
Added by Justin Sherrill over 7 years ago

Merge pull request #5388 from johnpmitsch/filter_bug

Fixes #11253 All content view filters are shown in every content view

History

#1 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5388 added
  • Pull request deleted ()

#2 Updated by John Mitsch over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Eric Helms over 7 years ago

  • Triaged changed from No to Yes

#4 Updated by Justin Sherrill over 7 years ago

  • Legacy Backlogs Release (now unused) changed from 61 to 31

Also available in: Atom PDF