Project

General

Profile

Actions

Bug #17652

closed

Hidden flag has no impact on smart variables when using Hammer CLI

Added by Ori Rabin over 7 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Smart variables
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1371794

Description of problem:
When we apply hidden flag on smart variables in UI we can clearly see that default value is substituted by '*****' marks, but when we do the same action in CLI we cannot see any change to default value or to any other values:

hammer -v -u admin -p changeme smart-variable info --name="lItINDxCih"
Id: 74
Name: lItINDxCih
Default Value: holFhLlcDy
Type: string
Puppet class: ntp
Description:
Hidden Value?: true
Validator:
Type:
Rule:
Override values:
Merge overrides: no
Merge default value: no
Avoid duplicates: no
Order: fqdn, hostgroup, os, domain
Values:
Created at: 2016/08/31 06:48:49
Updated at: 2016/08/31 06:48:49

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

How reproducible:
Always

Steps to Reproduce:
1. Create new smart variable with default value
2. Change 'hidden-value' flag state to true

Actual results:
Nothing is hidden

Expected results:
default value should be hidden

Additional info:


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #17653: Allow parameters and smart variable api to unhide values without changing the hidden_value flagClosedOri Rabin12/13/2016Actions
Actions #1

Updated by Ori Rabin over 7 years ago

  • Related to Feature #17653: Allow parameters and smart variable api to unhide values without changing the hidden_value flag added
Actions #2

Updated by Ori Rabin over 7 years ago

  • Target version set to 1.10.3
Actions #3

Updated by Ori Rabin about 7 years ago

  • Status changed from New to Resolved

There was no need to make changes in hammer once the api changed in: http://projects.theforeman.org/issues/17653

Actions

Also available in: Atom PDF