Bug #19294

Templates are not being updated

Added by Marek Hulán about 1 year ago. Updated about 1 year ago.

Assigned To:Marek Hulán
Target version:Foreman - Team Marek Iteration 13
Difficulty: Pull request:https://github.com/theforeman/foreman_templates/pull/46
Bugzilla link:
Story points-
Velocity based estimate-


After taxonomies has been changed in 1.15 so that only admin can load data from global context (any context), we need to setup anonymous admin as a current user for template importing. Otherwise it can not find the template and tries to create a new one which silently fails on name uniqueness validation. The whole import code needs to be revisit but to fix this, User.current configuration is enough and is a good idea anyway.

Associated revisions

Revision e078c13c
Added by Marek Hulán about 1 year ago

Fixes #19294 - support templates from any context (#46)


#1 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_templates/pull/46 added

#2 Updated by Anonymous about 1 year ago

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

Also available in: Atom PDF