Actions
Bug #6427
closednesting organization produces ISE with: You cannot set an organization's parent_id. This feature is disabled.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1109737
Description of problem:
nesting organization produces ISE with: You cannot set an organization's parent_id. This feature is disabled.
Version-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140612.1
How reproducible:
always
Steps to Reproduce:
1. Have some organization and attempt to "Nest" it
Administer -> Organizations -> <some_org> Nest
Actual results:
Oops, we're sorry but something went wrong
Error
ERF42-6434 [Foreman::Exception]: You cannot set an organization's parent_id. This feature is disabled.
Expected results:
Should work or button should not be there or proper error should be shown
Additional info:
In the log there is:
Processing by OrganizationsController#nest as HTML
Parameters: {"id"=>"4-red-hat"}
Operation FAILED: ERF42-6434 [Foreman::Exception]: You cannot set an organization's parent_id. This feature is disabled.
Rendered common/500.html.erb within layouts/application (4.0ms)
Rendered layouts/base.html.erb (1.1ms)
Completed 500 Internal Server Error in 20ms (Views: 7.0ms | ActiveRecord: 0.8ms)
Actions