Bug #4752
closedCreating custom product results in candlepin stacktrace
Description
1) login
2) Content -> Products -> Create Repository
3) Try to create a yum based repository, hit save
4) Note error:
Processing by Katello::Api::V2::RepositoriesController#create as JSON
Parameters: {"product_id"=>"91", "unprotected"=>true, "label"=>"repoz", "name"=>"repozzz", "content_type"=>"yum", "url"=>"http://mmccune.fedorapeople.org/repos/demo/repo-3/", "organization_id"=>"ACME_Corporation", "api_version"=>"v2", "repository"=>{"name"=>"repozzz", "label"=>"repoz", "unprotected"=>true, "content_type"=>"yum", "product_id"=>"91"}}
Katello::Resources::Candlepin::Environment: 500 Internal Server Error {"displayMessage":"Runtime Error Could not execute JDBC batch update at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError:2,598","requestUuid":"7626c798-cf0c-40b3-9265-695f6eac558a"} (POST /candlepin/environments/1/content) (RestClient::InternalServerError)
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result'
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `block in transmit'
/opt/rh/ruby193/root/usr/share/ruby/net/http.rb:746:in `start'
Updated by Mike McCune almost 11 years ago
Odd thing is, there is nothing in the tomcat6/catalina.out stating the error
Updated by Mike McCune almost 11 years ago
- Status changed from New to Assigned
- Assignee changed from Justin Sherrill to Brad Buckingham
Updated by Justin Sherrill almost 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset katello|commit:7c9bc7318d60e6774267d98c568a02621a9812c4.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13