Bug 802799 - wallaby shell replace-* commands with empty args should clear the value in the store
Summary: wallaby shell replace-* commands with empty args should clear the value in th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby-utils
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: 2.3
: ---
Assignee: Robert Rati
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-13 14:22 UTC by Robert Rati
Modified: 2013-03-06 18:42 UTC (History)
3 users (show)

Fixed In Version: wallaby-0.16.1-2
Doc Type: Bug Fix
Doc Text:
C: The wallaby shell commands that begin with the word "replace" would print an error if a list of entity names was not provided C: There was no easy way to replace the entity set with an empty set F: The wallaby shell commands now operate without a list of entity names R: Running a wallaby shell command beginning with "replace" without a list of entity names will replace the entity set with an empty set
Clone Of:
Environment:
Last Closed: 2013-03-06 18:42:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0564 0 normal SHIPPED_LIVE Low: Red Hat Enterprise MRG Grid 2.3 security update 2013-03-06 23:37:09 UTC

Description Robert Rati 2012-03-13 14:22:57 UTC
Description of problem:
The wallaby shell commands for replacing values on entities (replace-*) should zero out the value if no argument is given.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Rati 2012-03-13 14:24:40 UTC
If a replace command is given no argument, it will zero out the value

Comment 2 Robert Rati 2012-03-13 14:24:55 UTC
Fixed on BZ802799-replace-cmds-fixes

Comment 4 Robert Rati 2012-03-14 15:10:21 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: The wallaby shell commands that begin with the word "replace" would print an error if a list of entity names was not provided
C: There was no easy way to replace the entity set with an empty set
F: The wallaby shell commands now operate without a list of entity names
R: Running a wallaby shell command beginning with "replace" without a list of entity names will replace the entity set with an empty set

Comment 9 Lubos Trilety 2013-02-18 16:35:43 UTC
Tested with:
wallaby-utils-0.16.3-1

Tested on:
RHEL5 x86_64,i386
RHEL6 x86_64,i386

Replace command with no argument zero out the value.

>>> verified

Comment 11 errata-xmlrpc 2013-03-06 18:42:48 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.

http://rhn.redhat.com/errata/RHSA-2013-0564.html


Note You need to log in before you can comment on or make changes to this bug.