Bug #27522
openContent view version update does not validate content-view ids
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
Updated by Chris Roberts over 5 years ago
- Triaged changed from No to Yes
- Found in Releases Katello 3.12.1 added