Bug #19733
closed
Seed creates duplicate templates
Added by Lukas Zapletal over 7 years ago.
Updated about 6 years ago.
Description
Due to change in taxonomy handling in core, find_or_create does not see existing templates and creates new one every seed with the very same content. Since validation is turned off during save, uniqueness is not enforced.
I'd consider releasing new version of plugin or backporting this into 1.15 compatible release since this will create lot of confusion which of the template is actually used, also saving is not possible since validation always fail.
- Related to Bug #19732: Seed creates duplicate templates added
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman_bootdisk/pull/42 added
- Subject changed from Seed creates duplicit templates to Seed creates duplicate templates
- Pull request https://github.com/theforeman/foreman_bootdisk/pull/46 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Status changed from Closed to Ready For Testing
- Bugzilla link set to 1510308
Reopening as the initial PR removed the cause but not duplicates. The second PR is waiting for review.
- Status changed from Ready For Testing to Closed
- Triaged changed from No to Yes
Also available in: Atom
PDF