Hide Forgot
Description of problem: Executing errata info with non-existing id results in error: 756: unexpected token at 'null' Version-Release number of selected component (if applicable): katello-0.1.238-3 Additional info: Very similar problem as in bug 786438.
Testing scenario: 1) create product and repo 2) sync the repo 3) try to get info about erratum that does not exist
Verified with following CFSE build: [root@perceptor ~]# rpm -qa | grep -ie katello-0 -ie katello-cli-0 katello-0.1.304-1.el6.noarch katello-cli-0.1.105-1.el6.noarch [root@perceptor ~]# katello> errata list --org sghai -------------------------------------------------------------------------------- Errata List Id Title Type -------------------------------------------------------------------------------- RHEA-2012:0002 Sea_Erratum security RHEA-2012:0003 Bird_Erratum security RHEA-2012:0001 Bear_Erratum security RHEA-2012:0004 Gorilla_Erratum security katello> errata info --id RHEA-2012:0002 --repo "Zoo Enterprise x86_64 6.0" --org sghai --product "Zoo Enterprise" -------------------------------------------------------------------------------- Errata Information -------------------------------------------------------------------------------- Id: RHEA-2012:0002 Title: Sea_Erratum Description: Sea_Erratum Type: security Issued: 2012-01-27 16:08:06 Updated: Version: 1 Release: 1 Status: stable Reboot Suggested: False Affected Packages: walrus-0.71-1.noarch.rpm penguin-0.9.1-1.noarch.rpm shark-0.1-1.noarch.rpm A proper error message is displayed in case errata id doesn't exist. katello> errata info --id RHEA-2010:0002 --repo "Zoo Enterprise x86_64 6.0" --org sghai --product "Zoo Enterprise" Erratum with id 'RHEA-2010:0002' not found