Project

General

Profile

Bug #27213

You cannot update a content-view filter's description using hammer

Added by Chris Roberts 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:

Description

Cloned from bugzilla:

Description of problem:

You cannot update a content-view filter's description using hammer.

Version-Release number of selected component (if applicable):
All up to 6.5

How reproducible:
%100

Steps to Reproduce:
1. NOT IN HAMMER
2.
3.

Actual results:

NA

Expected results:
Not implemented

Additional info:

ou cannot update a content-view filter's description using hammer.
  1. hammer content-view filter update --help
    Usage:
    hammer content-view filter update [OPTIONS]

Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID Content view numeric identifier
--id ID Filter identifier
--inclusion INCLUSION Specifies if content should be included or excluded, default:
Inclusion=false
One of true/false, yes/no, 1/0.
--name NAME Name to search by
--new-name NEW_NAME New name for the filter
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
--original-packages ORIGINAL_PACKAGES Add all packages without errata to the included/excluded list. (package
Filter only)
One of true/false, yes/no, 1/0.
--repositories REPOSITORY_NAMES Comma separated list of values. Values containing comma should be quoted or escaped with backslash
--repository-ids REPOSITORY_IDS List of repository ids
Comma separated list of values. Values containing comma should be quoted or escaped with backslash
-h, --help Print help

One can update the name using the --new-name argument but there is no way to update the description field.

You can update the description using the gui.

Associated revisions

Revision 4283740c (diff)
Added by Chris Roberts 3 months ago

Refs #27213 - Add description to filter list

Revision e3e0f959 (diff)
Added by Chris Roberts 3 months ago

Fixes #27213 - Expose description to update filter api call (#8193)

Revision a9ddc074 (diff)
Added by Chris Roberts 3 months ago

Refs #27213 - Add update filter test (#660)

History

#1 Updated by The Foreman Bot 3 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8193 added

#2 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/658 added

#3 Updated by Chris Roberts 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#4 Updated by Chris Roberts 3 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/660 added

Also available in: Atom PDF