Bug 1107675

Summary: undefined local variable or method `scoped_search_definition' setting when setting permission filters
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ProvisioningAssignee: Dominic Cleal <dcleal>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, jmontleo
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5879
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:21:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryan Kearney 2014-06-10 12:40:50 UTC
1) Goto Roles 
2) Select "Filters and Permissions" next to a Role
3) Select New filter
4) Select "Architecture" or "Compute Resource" under resource type

Error reported in the server..


NameError (undefined local variable or method `scoped_search_definition' for #<Class:0x0000000c7d4f18>):
  app/models/concerns/authorizable.rb:31:in `allows_taxonomy_filtering?'
  app/models/concerns/authorizable.rb:35:in `allows_organization_filtering?'
  app/controllers/permissions_controller.rb:14:in `index'
  app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'


  Rendered /home/paji/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
  Rendered /home/paji/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
  Rendered /home/paji/.rvm/gems/ruby-2.0.0-p481/gems/actionpack-3.2.18/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.9ms)

Comment 1 Bryan Kearney 2014-06-10 12:40:52 UTC
Created from redmine issue http://projects.theforeman.org/issues/5879

Comment 2 Bryan Kearney 2014-06-10 12:41:02 UTC
Upstream bug assigned to dcleal

Comment 4 Bryan Kearney 2014-06-13 14:34:53 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5879 has been closed

Comment 7 Bryan Kearney 2014-09-11 12:21:18 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.