Project

General

Profile

Bug #14790

parameter based on matcher doesn't show value during new host creation

Added by Ori Rabin almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Smart Variables
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1267229
Description of problem:
When creating a new host, class parameters that match on a smart class parameter match value do not show the match before the new host is created. It does show after the host is created. This means the user is not able to view the actual value chosen before the host is created and thus cannot decide if this is the correct value or that it should override it for this host.

Version-Release number of selected component (if applicable):

How reproducible:
Create smart class parameter with override enabled and a matcher on i.e. domain
Open dialog new host to create new host making sure the matcher should match
Go to parameters and see what the chosen value is

Steps to Reproduce:
1.
2.
3.

Actual results:
chosen value is empty

Expected results:
is should show the chosen value

Additional info:
Apperantly, it resolves these matchers during host creation, but imho that is too late.

Associated revisions

Revision f391021c (diff)
Added by Ori Rabin almost 4 years ago

Fixes #14790 - reloads puppetclass parameters when choosing os and domain

Revision 25af317f (diff)
Added by Ori Rabin almost 4 years ago

Fixes #14790 - reloads puppetclass parameters when choosing os and domain

(cherry picked from commit f391021c9c99e7b1e3949fa64c1b1fcb2c6ae540)

History

#1 Updated by The Foreman Bot almost 4 years ago

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

#2 Updated by Ori Rabin almost 4 years ago

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

#3 Updated by Dominic Cleal almost 4 years ago

  • Category set to Smart Variables
  • Legacy Backlogs Release (now unused) set to 155

Also available in: Atom PDF