Bug #11825
closed
Adding template types from plugins doesn't work with taxonomies
Added by Ivan Necas over 9 years ago.
Updated over 6 years ago.
Category:
Plugin integration
|
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
- Blocks Bug #11805: error creating organization in assign_default_templates added
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2723 added
- Pull request deleted (
)
- 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.
- Status changed from New to Ready For Testing
- Assignee set to Ivan Necas
- Pull request https://github.com/theforeman/foreman/pull/4890 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 296
Also available in: Atom
PDF