Project

General

Profile

Actions

Bug #28647

closed

[UI] Improve errors when template references self for foreign input sets

Added by Ondřej Pražák over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-

Description

Description of problem:
When template references itself for foreign input sets, duplicate inputs are detected:

ERF45-3514 [JobTemplate::NonUniqueInputsError]: Duplicated inputs detected: ["pre_script", "package", "post_script"]".

While this is actually correct as we try to create additional inputs with the same names, it does not really point us to the cause of the problem and provides no hints how to resolve this error.

Steps to Reproduce:
1. Attempt to import an existing job template that references itself as a source of foreign input set. Either importing single file or using import via foreman_templates.


Files

Actions #1

Updated by Ondřej Pražák over 6 years ago

Actions #2

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/459 added
Actions #3

Updated by The Foreman Bot about 6 years ago

  • Fixed in Releases foreman_remote_execution 3.0.2 added
Actions #4

Updated by Ondřej Pražák about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot about 6 years ago

  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/466 added
Actions #6

Updated by Adam Ruzicka about 6 years ago

  • Fixed in Releases foreman_remote_execution 2.0.8, foreman_remote_execution 3.1.0 added
  • Fixed in Releases deleted (foreman_remote_execution 3.0.2)
Actions

Also available in: Atom PDF