Bug 783405

Summary: Remembered options don't always work as expected
Product: [Retired] Katello Reporter: Tomas Strachota <tstrachota>
Component: ClientAssignee: Tomas Strachota <tstrachota>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.0Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-20 14:49:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Strachota 2012-01-20 10:13:34 UTC
Description of problem:
Options saved by 'client remember' don't always work.


Steps to Reproduce:
1. environment create --name Dev --prior Locker
2. client remember --option environment --value Dev
3. repo list (expects optional parameter --environment)
  
Actual results:
Lists repositories from Locker.

Expected results:
Should list repos from Dev.

Additional info:
It is most likely caused by using name of the param's destination variable name instead of actual param's name. Everything works for params that have same name as the destination (eg. --org & org).

Comment 1 Tomas Strachota 2012-02-20 14:49:47 UTC

*** This bug has been marked as a duplicate of bug 790550 ***