Project

General

Profile

Actions

Bug #22754

closed

Content view filter rule name param is wrongly documented as enum

Added by Tomáš Strachota almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The author probably intended to mark that the parameter accepts either string or array:

param :name, [String, Array], :desc => N_("package, package group, or docker tag names")

but apipie (and hammer) interprets this array syntax as enum and actually validates if the value is "String" or "Array".


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #22753: Some API parameters are wrongly documented as enum typesClosedTomáš Strachota03/02/2018Actions
Has duplicate Hammer CLI - Bug #23214: cannot create content view filter ruleDuplicate04/11/2018Actions
Actions #1

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Tomáš Strachota
  • Pull request https://github.com/Katello/katello/pull/7220 added
Actions #2

Updated by Tomáš Strachota almost 7 years ago

  • Related to Bug #22753: Some API parameters are wrongly documented as enum types added
Actions #3

Updated by John Mitsch over 6 years ago

  • Translation missing: en.field_release set to 338
Actions #4

Updated by Tomáš Strachota over 6 years ago

  • Has duplicate Bug #23214: cannot create content view filter rule added
Actions #5

Updated by Tomáš Strachota over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF