Project

General

Profile

Actions

Bug #27522

open

Content view version update does not validate content-view ids

Added by Chris Roberts over 5 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Chris Roberts over 5 years ago

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

Updated by Ian Ballou 7 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF