Project

General

Profile

Actions

Bug #19732

closed

Seed creates duplicate templates

Added by Lukas Zapletal over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
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 1 (0 open1 closed)

Related to Boot disk - Bug #19733: Seed creates duplicate templatesClosedLukas ZapletalActions
Actions #1

Updated by Lukas Zapletal over 7 years ago

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

Updated by Lukas Zapletal over 7 years ago

  • Subject changed from Seed creates duplicit templates to Seed creates duplicate templates
Actions #3

Updated by The Foreman Bot over 7 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
Actions #4

Updated by Lukas Zapletal over 7 years ago

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

Also available in: Atom PDF