Project

General

Profile

Actions

Bug #25730

closed

Organization seed assumes all relationships are many_to_many

Added by Justin Sherrill about 6 years ago. Updated about 6 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

Also available in: Atom PDF