Project

General

Profile

Actions

Bug #6463

closed

hammer org update org's description is broken

Added by Adam Price almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1114136
Description of problem:
When updating an org's description using hammer that does not work.

Version-Release number of selected component (if applicable):
  1. hammer --version
    hammer (0.1.1) * hammer_cli_foreman (0.1.1) * hammer_cli_katello (0.0.4)

How reproducible:
Aways

Steps to Reproduce:
1. hammer organization update --id=<org_id> --description='interesting description'

Actual results:
Descriptions is not updated although a success message is displayed and when passing a invalid description like a 3000 characters length string it does not raise any error.

Expected results:
Organization description should be updated and raise an error if a invalid description is provided

Additional info:
  1. LANG=en_US hammer -v -u admin -p changeme --output csv organization update --id='67' --description='interesting description'
    Message,Id,Name
    Organization updated,67,wfc9n0
  1. LANG=en_US hammer -v -u admin -p changeme organization info --id='67'
    Id: 67
    Name: wfc9n0
    Users:

Smart proxies:
somehost.com
Subnets:

Compute resources:

Installation media:

Templates:

Domains:

Environments:

Hostgroups:

Parameters:

Created at: 2014/06/27 03:48:38
Updated at: 2014/06/27 19:55:59
Label: wfc9n0
Description:
Red Hat Repository URL: https://cdn.redhat.com

Actions

Also available in: Atom PDF