| Summary: | Repo edit not working | ||
|---|---|---|---|
| Product: | [Retired] Katello | Reporter: | Partha Aji <paji> |
| Component: | WebUI | Assignee: | Miroslav Suchý <msuchy> |
| Status: | CLOSED NOTABUG | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0 | CC: | bbuckingham, msuchy, sghai |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-18 10:02:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 720829 | ||
| Bug Blocks: | |||
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 |
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.