Bug #6234
closedsorting compute resources and subnets tables by different keys produces ISE
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1109740
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)
Updated by Dominic Cleal over 10 years ago
- Status changed from New to Ready For Testing
- Assignee set to Stephen Benjamin
- Target version set to 1.8.1
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 18
Updated by Stephen Benjamin over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 5dd996fd87a191e1dd4cf07d20a90ed4145fdf50.