Project

General

Profile

Actions

Bug #23435

closed

deleteing org errors: Cannot delete version while it is in environments: Library

Added by Thomas McKay almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

hammer --server https://devel.example.com --username admin --password changeme organization delete --label Default_Organization
Could not delete the organization:
Cannot delete version while it is in environments: Library

Created a new org then tried deleting original.

Actions #1

Updated by Thomas McKay almost 6 years ago

2018-04-28T13:12:44 [W|app|07591] Action failed
 | RuntimeError: Cannot delete version while it is in environments: Library
 | /home/vagrant/code/katello/app/models/katello/content_view_version.rb:331:in `validate_destroyable!'
 | /home/vagrant/code/katello/app/lib/actions/katello/content_view_version/destroy.rb:6:in `plan'
 | /home/vagrant/code/dynflow/lib/dynflow/action.rb:493:in `block (3 levels) in execute_plan'
 | /home/vagrant/code/dynflow/lib/dynflow/middleware/stack.rb:26:in `pass'
 | /home/vagrant/code/dynflow/lib/dynflow/middleware.rb:18:in `pass'
 | /home/vagrant/code/dynflow/lib/dynflow/middleware.rb:35:in `plan'

Actions #2

Updated by Andrew Kofink almost 6 years ago

  • Assignee deleted (Thomas McKay)
  • Priority changed from Normal to Urgent
  • Target version set to 245
  • translation missing: en.field_release set to 352
Actions #3

Updated by Thomas McKay almost 6 years ago

  • Status changed from New to Closed

Cannot reproduce on fresh devel forklift

Actions

Also available in: Atom PDF