Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1273827

Summary: Creating smart variable with period or special character makes smart variable not to view, edit and delete.
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: ProvisioningAssignee: Tomer Brisker <tbrisker>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: unspecified    
Version: NightlyCC: bbuckingham, cwelton, tbrisker
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/12231
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 08:58:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1278718    
Attachments:
Description Flags
Screenshot Attached. none

Description Jitendra Yejare 2015-10-21 10:52:48 UTC
Created attachment 1085086 [details]
Screenshot Attached.

Description of problem:
In Smart Class-> Smart Variables tab, Creating smart variable with name having period or special character makes smart variable not to view, edit and delete.

Version-Release number of selected component (if applicable):
foreman-1.11.0-0.develop.201510151605git8893c3b.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a smart variable from tab Configure -> Classes-> smart class -> Smart variables tab with name having period or special character in it.

Actual results:
Smart variable with period or special character makes smart variable not to view, edit and delete.

Expected results:
Smart Variable with period or special character should be able to view, edit or delete from Configure -> Classes-> smart class -> Smart variables tab.

Additional info:
I am able to view, edit or delete the same smart variable(created with period or special characters) from Configure -> Smart Variables.

Comment 2 Tomer Brisker 2015-10-28 09:23:13 UTC
Connecting redmine issue http://projects.theforeman.org/issues/12231 from this bug

Comment 3 Bryan Kearney 2015-10-28 10:04:17 UTC
Upstream bug component is Provisioning

Comment 5 Bryan Kearney 2015-11-03 11:04:02 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/12231 has been closed
-------------
Anonymous
Applied in changeset commit:51c05864e034d229efe4a4673ec85189da60e90c.

Comment 6 Jitendra Yejare 2016-01-27 12:45:51 UTC
Tested this issue in latest upstream.

I can create a smart variable with period character and special chars. Is that an expected behaviour ?

Build: foreman-1.11.0-0.develop.201601251557git59dc77b.el6.noarch

Comment 9 Jitendra Yejare 2016-04-13 13:20:18 UTC
As per discussion with Dev, To verify this feature we need hammer 0.6 which is not yet available in downstream. (Current Sat 6 snap 7.1)

Comment 10 Jitendra Yejare 2016-04-20 09:42:00 UTC
Verified in Sat 6.2 snap 8.2

I can create, edit and delete a smart variable with special char and period char in Configure -> Classes -> class_name -> Smart Variables.

So moving this to Verified.

Comment 12 errata-xmlrpc 2016-07-27 08:58:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1500