Project

General

Profile

Bug #27522

Content view version update does not validate content-view ids

Added by Chris Roberts almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

hammer -d content-view version update --content-view-id 5 --id 2 --description "food2"

---|-------------------------------|---------|-------------|-----------------------
ID | NAME | VERSION | DESCRIPTION | LIFECYCLE ENVIRONMENTS
---|-------------------------------|---------|-------------|-----------------------
2 | Zoo 1.0 | 1.0 | food2 | Library
1 | Default Organization View 1.0 | 1.0 | | Library
---|-------------------------------|---------|-------------|-----------------------

[vagrant@centos7-hammer-devel hammer-cli-katello]$ hammer content-view list
----------------|---------------------------|---------------------------|-----------|---------------------|---------------
CONTENT VIEW ID | NAME | LABEL | COMPOSITE | LAST PUBLISHED | REPOSITORY IDS
----------------|---------------------------|---------------------------|-----------|---------------------|---------------
1 | Default Organization View | Default_Organization_View | | 2019/08/05 14:06:45 |
2 | Zoo | Zoo | | 2019/08/05 14:18:19 | 1, 2
----------------|---------------------------|---------------------------|-----------|---------------------|---------------

Still updates it, it should throw an error to the user and exit with a fail message

History

#1 Updated by Chris Roberts almost 3 years ago

  • Triaged changed from No to Yes
  • Found in Releases Katello 3.12.1 added

Also available in: Atom PDF