Description of problem: Unable to update cotent-view for activation keys. Version-Release number of selected component (if applicable): beta-snap4/2014-05-08.1 How reproducible: Steps to Reproduce: 1. Have multiple cv's. 2. Create an activation key 3. Try updating the content-views Actual results: Updating the content-view would raise a success alert, but upon checking the content-view value in the UI, it remains the same. Expected results: Updating content-view for activation-keys needs to be successful. also there should be no alert when the content-view was actually not updated. Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
There is no error in /var/log/foreman/production.log, but below is the output that we get when trying to update the activation key. Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) Connecting to database specified by database.yml Processing by Katello::Api::V2::ActivationKeysController#update as JSON Parameters: {"id"=>"9", "name"=>"A test key2", "label"=>"A_test_key2", "description"=>nil, "organization"=>{"name"=>"ACME_Corporation", "label"=>"ACME_Corporation"}, "created_at"=>"2014-05-13T10:48:07Z", "updated_at"=>"2014-05-13T10:48:07Z", "content_view"=>{"id"=>3, "name"=>"cv-rhel65-manifest", "label"=>"cv-rhel65-manifest", "description"=>nil, "organization_id"=>1, "default"=>false, "created_at"=>"2014-05-11T18:50:28Z", "updated_at"=>"2014-05-11T18:50:28Z", "composite"=>nil, "next_version"=>2, "organization"=>"ACME_Corporation", "environments"=>["Dev", "Library"], "versions"=>[1], "versions_details"=>[{"version"=>1, "published"=>"2014-05-11 18:54:41 UTC", "environments"=>["Library", "Dev"]}]}, "content_view_id"=>8, "environment_id"=>2, "usage_count"=>1, "user_id"=>1, "usage_limit"=>-1, "release_version"=>nil, "service_level"=>nil, "permissions"=>{"editable"=>true}, "environment"=>{"id"=>2, "name"=>"Dev", "select"=>true, "selected"=>true}, "host_collections"=>[], "api_version"=>"v2", "activation_key"=>{"id"=>"9", "name"=>"A test key2", "description"=>nil, "environment_id"=>2, "created_at"=>"2014-05-13T10:48:07Z", "updated_at"=>"2014-05-13T10:48:07Z", "user_id"=>1, "usage_limit"=>-1, "content_view_id"=>8, "label"=>"A_test_key2", "release_version"=>nil, "service_level"=>nil}} Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/common/update.json.rabl within katello/api/v2/layouts/resource (28.3ms) Completed 200 OK in 154ms (Views: 24.0ms | ActiveRecord: 5.0ms)
Created redmine issue http://projects.theforeman.org/issues/5846 from this bug
should be fixed when 0e8b8eb285ad7f4566c961fcf9fc038f5f7e52bb or https://github.com/Katello/katello/pull/4126 makes it to master.
Verified. sat6 snap6: Satellite-6.0.3-RHEL-6-20140523.0
This was delivered with 6.0.3, which is the Satellite 6 Beta.
This was delivered in 6.0.3, the Beta version of Satellite 6.0