Project

General

Profile

Actions

Bug #23214

closed

cannot create content view filter rule

Added by Ales Dujicek over 6 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

name validation is wrong

# hammer -v content-view filter rule create --content-view-filter="filter-name" --content-view-id="3" --name 'package'
Could not create the filter rule:
  Value must be one of 'String', 'Array'.

# hammer -v content-view filter rule create --content-view-filter="filter-name" --content-view-id="3" --name 'String'
Filter rule created

foreman-1.18.0-0.develop.201804091403git41fe8c6.el7.noarch
tfm-rubygem-hammer_cli-0.13.pre.develop-1.201803232224gite493035.el7.noarch


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #22754: Content view filter rule name param is wrongly documented as enumClosedTomáš Strachota03/02/2018Actions
Actions #2

Updated by Tomáš Strachota over 6 years ago

  • Is duplicate of Bug #22754: Content view filter rule name param is wrongly documented as enum added
Actions #3

Updated by Tomáš Strachota over 6 years ago

  • Status changed from New to Duplicate

Thank you for reporting this Ales. In fact this is a server side issue. Hammer takes information about parameter types from api docs. It's been reported also as http://projects.theforeman.org/issues/22754/ so I'm closing this one as a duplicate.

Actions

Also available in: Atom PDF