Project

General

Profile

Actions

Bug #11825

closed

Adding template types from plugins doesn't work with taxonomies

Added by Ivan Necas over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We hit an issue in foreman_remote_execution, when trying to add has_many
association to taxonomies, after the after_create defined, due to the behavior
described in rails/rails#12180 (comment).

Switching from after_create to before_create (and using `#{association}=` instead of `<<`, just for sure)
fixed the issue for us


Related issues 2 (0 open2 closed)

Blocks Foreman Remote Execution - Bug #11805: error creating organization in assign_default_templatesClosed09/14/2015Actions
Blocks Foreman Remote Execution - Bug #21168: Can't create a locationClosedIvan Necas10/02/2017Actions
Actions

Also available in: Atom PDF