Project

General

Profile

Actions

Bug #10671

closed

could not update gpg-key, UI raises red-cross without any error and logs says unsupported media type

Added by Steve Loranz almost 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1204602
Description of problem:
I was trying to update gog-key file from webUI. and got following in production.log:

--

2015-03-23 02:59:29 [I] Processing by Katello::Api::V2::GpgKeysController#content as HTML
2015-03-23 02:59:29 [I] Parameters: {"content"=>#<ActionDispatch::Http::UploadedFile:0x0000000a61e4c8 @original_filename="RPM-GPG-KEY-redhat-release", @content_type="application/octet-stream", @headers="Content-Disposition: form-data; name=\"content\"; filename=\"RPM-GPG-KEY-redhat-release\"\r\nContent-Type: application/octet-stream\r\n", @tempfile=#<File:/tmp/RackMultipart20150323-32417-10mgcs9>>, "authenticity_token"=>"cfFEZ6+GNiWvIddDVKunD3r17QVtJrQgN4Q/468aKpU=", "api_version"=>"v2", "id"=>"50"}
2015-03-23 02:59:29 [I] Rendered api/v2/errors/unsupported_content_type.json.rabl within api/v2/layouts/error_layout (1.6ms)
2015-03-23 02:59:29 [I] Filter chain halted as :check_content_type rendered or redirected
2015-03-23 02:59:29 [I] Completed 415 Unsupported Media Type in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)
--

Version-Release number of selected component (if applicable):
sat6 beta snap7 compose 3
Satellite-6.1.0-RHEL-6-20150320.1

How reproducible:
always

Steps to Reproduce:
1. create a gpg-key
2. update gpg-key file
3.

Actual results:
2015-03-23 02:59:29 [I] Completed 415 Unsupported Media Type in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)

no error on UI, empty redhat block without any error

Expected results:
UI should allow to update the gog-key and in any case if there is any error, UI should show that error.

Additional info:

Actions #1

Updated by Eric Helms almost 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5265 added
  • Pull request deleted ()
Actions #3

Updated by Anonymous almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF