Project

General

Profile

Actions

Bug #25730

closed

Organization seed assumes all relationships are many_to_many

Added by Justin Sherrill over 5 years ago. Updated about 5 years ago.

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

Description

This pr: https://github.com/theforeman/foreman/pull/6283
assumes that all relationships are many to many with this line:

https://github.com/theforeman/foreman/blob/develop/db/seeds.d/050-taxonomies.rb#L13

However, katello (and possibly other plugins?) has a 'has_one' association.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #24801: Migrate all objects to default taxonomies if taxonomies disabledClosedTomer BriskerActions
Actions #1

Updated by Justin Sherrill over 5 years ago

  • Related to Refactor #24801: Migrate all objects to default taxonomies if taxonomies disabled added
Actions #2

Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6350 added
Actions #3

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases 1.21.0 added
Actions #4

Updated by Justin Sherrill over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker about 5 years ago

  • Category set to Organizations and Locations
Actions

Also available in: Atom PDF