Hide Forgot
Description of problem: There is no way to create a 'Date and Type' type of content view filter with hammer. While https://access.redhat.com/solutions/2216781 describes a procedure that may result in something similar, the appearance of the filter in Satellite-6.2 is significantly different from a manually created 'Date and Type' filter. Version-Release number of selected component (if applicable): Satellite 6.2.2 How reproducible: always Steps to Reproduce: 1. Create CV RHEL7_Base 2. hammer content-view filter create --organization=$ORG --content-view='RHEL7_Base' --type='erratum' --name='errata1606' --inclusion='false' 3. hammer content-view filter rule create --organization=$ORG --start-date='2016-06-01' --content-view='RHEL7_Base' --content-view-filter='errata1606' --date-type='updated' Actual results: The filter has Content Type 'Errata' The filter offers a List/Remove tab which is is empty and only allows to add individual errata Expected results: The filter should have Content Type 'Errata - Date and Type' The filter should have a 'Erratum Date Range' tab to enter/modify appropriate dates Additional info:
It is possible to create a the desired filter rule; however, the '--types' field (e.g. --types 'security') must be included as indicated in the KCS from the initial description. There is a change in the upstream that was submitted for bug 1386688 that will allow that field to default to all types, to be consistent with the UI user experience.