Description of problem: Sorting different tables by different keys produces ISE Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140612.1 How reproducible: always Steps to Reproduce: 1. Go to Compute Resources page: Infrastructure -> Compute Resources 2. Attempt to sort by "Type" (click on "Type" in table heading) OR: 1. Go to Subnets page: Infrastructure -> Subnets 2. Attempt to sort by "Domain" (click on "Domain" in table heading) Actual results: Error appears Expected results: Should be sorted by given column Additional info: Sorting compute resources by Type: Processing by ComputeResourcesController#index as HTML Parameters: {"order"=>"type ASC"} Operation FAILED: the field 'type' in the order statement is not valid field for search Rendered common/500.html.erb within layouts/application (4.4ms) Rendered layouts/base.html.erb (1.1ms) Completed 500 Internal Server Error in 22ms (Views: 7.1ms | ActiveRecord: 0.0ms) Sorting subnets by Domain: Processing by SubnetsController#index as HTML Parameters: {"order"=>"domains ASC"} Operation FAILED: the field 'domains' in the order statement is not valid field for search Rendered common/500.html.erb within layouts/application (7.1ms) Rendered layouts/base.html.erb (1.5ms) Completed 500 Internal Server Error in 28ms (Views: 11.1ms | ActiveRecord: 0.0ms)
Created redmine issue http://projects.theforeman.org/issues/6234 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/6234 has been closed
Moving to POST since upstream bug http://projects.theforeman.org/issues/6234 has been closed ------------- Dominic Cleal https://github.com/theforeman/foreman/pull/1517 ------------- Stephen Benjamin Applied in changeset commit:5dd996fd87a191e1dd4cf07d20a90ed4145fdf50.
VERIFIED on Satellite-6.0.4-RHEL-6-20140827.0 (foreman-1.6.0.42-1.el6sat)
This was delivered with Satellite 6.0 which was released on 10 September 2014.