Bug #26028
Removing recurring logic fails with `katello_sync_plans.recurring_logic_id does not exist`
Description
# in rails console > rl = ForemanTasks::RecurringLogic.last > rl.destroy ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column katello_sync_plans.recurring_logic_id does not exist) LINE 1: ...llo_sync_plans".* FROM "katello_sync_plans" WHERE "katello_s... ^ : SELECT "katello_sync_plans".* FROM "katello_sync_plans" WHERE "katello_sync_plans"."recurring_logic_id" = $1 LIMIT $2
Associated revisions
History
#1
Updated by The Foreman Bot over 3 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7972 added
#2
Updated by Ivan Necas over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|0f752247afe4c00be788390c0fc78a5a50da190a.
#3
Updated by Christine Fouant over 3 years ago
- Triaged changed from No to Yes
- Target version set to Katello 3.12.0
Fixes #26028 - set foreign key for tasks sync plan explicitly
Otherwise, destroying fails with `katello_sync_plans.recurring_logic_id
does not exist`