Hide Forgot
Description of problem: Editing the name or URL of a repository results in a 400 Bad Request. undefined method `values' for nil:NilClass How reproducible: always Steps to Reproduce: 1. Create a custom product 2. Create a repository 3. Now click on the repository edit 4. Change the name or url Actual results: undefined method `values' for nil:NilClass and Completed 400 Bad Request Expected results: Successful update of repo and product. Additional info: The reason is because the repo id is not sent in the edit request. When we update a repo, a provider update is getting sent over without any reference to the repository getting updated. Started POST "/providers/5" for 10.11.231.31 at Mon Jul 25 18:41:12 -0400 2011 Processing by ProvidersController#update as HTML Parameters: {"repo"=>{"feed"=>"http://rgoo.com"}, "authenticity_token"=>"dUnf1zIsGIsLQNAd2k5c3QRLwsHK2bt9hy2zo7O/Q3U=", "id"=>"5"} and Started POST "/providers/5" for 10.11.231.31 at Mon Jul 25 18:18:28 -0400 2011 Processing by ProvidersController#update as HTML Parameters: {"repo"=>{"name"=>"baz1221"}, "authenticity_token"=>"dUnf1zIsGIsLQNAd2k5c3QRLwsHK2bt9hy2zo7O/Q3U=", "id"=>"5"} Notice in neither case is there any indication as to which repo changed.
Editing a repository is not currently supported; however, needs to be investigated. It may require modification pulp and the katello backend.
Backend - related to 720829
*** Bug 735731 has been marked as a duplicate of this bug. ***
The repository could not edited anymore. Can we close this BZ?
taking
closing per #4