Project

General

Profile

Bug #19732

Seed creates duplicate templates

Added by Lukas Zapletal almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 issues

Related to Boot disk - Bug #19733: Seed creates duplicate templatesClosed

Associated revisions

Revision 5855f4b4 (diff)
Added by Lukas Zapletal almost 2 years ago

Fixes #19412,#19732 - kexec path and seed fixed

History

#1 Updated by Lukas Zapletal almost 2 years ago

  • Related to Bug #19733: Seed creates duplicate templates added

#2 Updated by Lukas Zapletal almost 2 years ago

  • Subject changed from Seed creates duplicit templates to Seed creates duplicate templates

#3 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman_discovery/pull/350 added

#4 Updated by Lukas Zapletal almost 2 years ago

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

Also available in: Atom PDF