Bug 1231765

Summary: Can't completely delete a version of content view
Product: Red Hat Satellite Reporter: Andrii Balakhtar <abalakht>
Component: WebUIAssignee: David Davis <daviddavis>
WebUI sub component: Katello QA Contact: Corey Welton <cwelton>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: abalakht, cwelton, mmccune
Version: 6.1.0Keywords: Regression, Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
URL: http://projects.theforeman.org/issues/10822
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 13:55:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log of complete deletion of cv version none

Description Andrii Balakhtar 2015-06-15 11:33:25 UTC
Created attachment 1038912 [details]
log of complete deletion of cv version

Description of problem:
Can't completely delete version of content view (with 'Completely remove version?' checkbox checked off) on WebUI, operation fails with error '404 Resource Not Found (RestClient::ResourceNotFound)'.

Version-Release number of selected component (if applicable):
Satellite 6.1.0 GA RC 2 (SNAP8-C2), RC1 (SNAP8)

How reproducible:
Always

Steps to Reproduce:
1. Log in to WebUI, create a Content View.
2. Publish new version of the content view.
3. Completely remove previously created version of CV (with 'Completely remove version?' checked off)

Actual results:
Version wasn't deleted, status of operation is 'error'. /var/log/foreman/production.log contains following error:
[E] 404 Resource Not Found (RestClient::ResourceNotFound)
Check full error log in attached cv_remove_version_error.log

Expected results:
Version was successfully deleted with no errors.

Additional info:

Comment 3 Partha Aji 2015-06-15 18:21:08 UTC
Created redmine issue http://projects.theforeman.org/issues/10822 from this bug

Comment 4 Corey Welton 2015-06-16 16:25:20 UTC
Verified in Snap 8 Compose 3

Older versions of CVs can be "completely" removed w/o error.

Comment 5 Bryan Kearney 2015-08-11 13:28:48 UTC
This bug is slated to be released with Satellite 6.1.

Comment 6 Bryan Kearney 2015-08-12 13:55:22 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.