Bug #23435
closed
deleteing org errors: Cannot delete version while it is in environments: Library
Added by Thomas McKay over 6 years ago.
Updated over 6 years ago.
Category:
Organizations and Locations
|
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.
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'
- Assignee deleted (
Thomas McKay)
- Priority changed from Normal to Urgent
- Target version set to 245
- Translation missing: en.field_release set to 352
- Status changed from New to Closed
Cannot reproduce on fresh devel forklift
Also available in: Atom
PDF