Hide Forgot
Description of problem: When you create a new user and select a default Org, the user is successfully created, but the Org is not associated with the user. When you look at the User's environments, you get a No Default Organization. This seems to happen only on user creation (i.e. https://rhel61-server.usersys.redhat.com/katello/users#panel=new) Version-Release number of selected component (if applicable): Katello Version: 0.1.194-1.el6 How reproducible: Steps to Reproduce: 1. As the Admin user, create a new user 2. Select an available Org 3. Save 4. Select this new user and then click its Environments section Actual results: No Default Organization Expected results: There should be the default organization selected when you created the user. Additional info: Started GET "/katello/organizations/1/environments_partial?new=true" for 10.11.230.241 at Tue Jan 24 10:08:38 -0500 2012 Processing by OrganizationsController#environments_partial as Parameters: {"new"=>"true", "id"=>"1"} Rendered common/_env_select.html.haml (0.2ms) Rendered organizations/_environments.html.haml (0.9ms) Completed 200 OK in 23ms (Views: 1.9ms | ActiveRecord: 4.9ms) Started POST "/katello/users" for 10.11.230.241 at Tue Jan 24 10:08:42 -0500 2012 Processing by UsersController#create as Parameters: {"org_id"=>{"org_id"=>"1"}, "authenticity_token"=>"u2I/GHxza4psgWRXnYtie7xvC/XaHQO2tYpGaCqVodw=", "utf8"=>"✓", "user"=>{"username"=>"mrivera", "password"=>"[FILTERED]", "email"=>"omaciel"}} Rendered common/_list_item.html.haml (1.2ms) Completed 200 OK in 533ms (Views: 2.5ms | ActiveRecord: 42.6ms) Started GET "/katello/notices/get_new" for 10.11.230.241 at Tue Jan 24 10:08:43 -0500 2012 Processing by NoticesController#get_new as JSON Completed 200 OK in 17ms (Views: 2.1ms | ActiveRecord: 1.4ms) Started GET "/katello/users/5/edit" for 10.11.230.241 at Tue Jan 24 10:08:43 -0500 2012 Processing by UsersController#edit as HTML Parameters: {"id"=>"5"} Rendered users/_edit_form.html.haml (158.7ms) Rendered users/_edit.html.haml (172.2ms) Completed 200 OK in 206ms (Views: 171.7ms | ActiveRecord: 10.6ms)
ebeaf20c699694cfccfef4da4c3e37fbce35974f A newly created user should now have the default organization set.
Varified on Katello Version: 0.1.196-1.el6
getting rid of 6.0.0 version since that doesn't exist