Bug 1107710

Summary: Filter create/edit breaks if the resource type does not have a corresponding controller with 'autocomplete_search'
Product: Red Hat Satellite Reporter: Bryan Kearney <bkearney>
Component: ProvisioningAssignee: Dmitri Dolguikh <ddolguik>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: bbuckingham, cwelton, jmontleo, tkolhar
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/5553
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-11 12:26:15 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:55:28 UTC
If a permission set is created and specifies a resource type that does not contain an autocomplete route, the permissions aren't loaded by the UI and leaves the user in a weird broken state that they are unaware of. The line that leads to this is - https://github.com/theforeman/foreman/blob/develop/app/helpers/filters_helper.rb#L14 which throws a backend error since the first argument is nil.

Comment 1 Bryan Kearney 2014-06-10 12:55:30 UTC
Created from redmine issue http://projects.theforeman.org/issues/5553

Comment 2 Bryan Kearney 2014-06-10 12:55:36 UTC
Upstream bug assigned to ddolguik

Comment 3 Bryan Kearney 2014-06-10 13:04:52 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/5553 has been closed

Comment 6 Bryan Kearney 2014-09-11 12:26:15 UTC
This was delivered with Satellite 6.0 which was released on 10 September 2014.