Project

General

Profile

Bug #12596

cannot refresh manifest due to dependent repositories

Added by Thomas McKay over 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Imported a manifest, enabled repos, sync'ed repos, refreshed manifest:

ActiveRecord::DeleteRestrictionError: Cannot delete record because of dependent repositories

/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.22/lib/active_record/associations/builder/has_many.rb:63:in `block in define_restrict_dependency_method'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.22/lib/active_support/callbacks.rb:408:in `block in _run__3717454261327070978__destroy__17252691308165791__callbacks'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.22/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_10278'
/home/vagrant/code/katello/app/models/katello/glue.rb:35:in `on_destroy'
/home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/activesupport-3.2.22/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_10278'
...

Associated revisions

Revision bd187c08 (diff)
Added by John Mitsch over 3 years ago

Fixes #12596 - cannot refresh manifest due to dependent repositories

Revision a76cb6b1
Added by John Mitsch over 3 years ago

Merge pull request #5668 from johnpmitsch/subscriptions_refresh_manifest

Fixes #12596 - cannot refresh manifest due to dependent repositories

History

#1 Updated by Thomas McKay over 3 years ago

#2 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to John Mitsch
  • Pull request https://github.com/Katello/katello/pull/5668 added

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86
  • Triaged changed from No to Yes

#4 Updated by John Mitsch over 3 years ago

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

#5 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 86 to 70

#6 Updated by Thomas McKay almost 3 years ago

  • Blocks deleted (Bug #12533: Subscriptions Tracker)

Also available in: Atom PDF