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 #1

Updated by Ivan Necas over 8 years ago

  • Blocks Bug #11805: error creating organization in assign_default_templates added
Actions #2

Updated by The Foreman Bot over 8 years ago

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

Updated by Dominic Cleal over 7 years ago

  • Status changed from Ready For Testing to New
  • Pull request deleted (https://github.com/theforeman/foreman/pull/2723)

PR was closed due to inactivity, but I think from the description it's still valid.

Actions #4

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ivan Necas
  • Pull request https://github.com/theforeman/foreman/pull/4890 added
Actions #5

Updated by Ivan Necas over 6 years ago

  • Blocks Bug #21168: Can't create a location added
Actions #6

Updated by Ivan Necas over 6 years ago

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

Updated by Daniel Lobato Garcia over 6 years ago

  • translation missing: en.field_release set to 296
Actions

Also available in: Atom PDF