Project

General

Profile

Actions

Bug #16799

closed

Taxonomies are not returned for Canned Roles

Added by Marek Hulán over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Other commands
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1381881

Description of problem:
When I create new Canned Role with taxonomies:

hammer -v -u admin -p changeme --output=csv role create --organizations="coC4sT" --locations="lVZNUA2tLR" --name="Cc417k"

Message,Id,Name
User role [Cc417k] created,21,Cc417k

and try to read it back, necessary information is not returned:
hammer --output=json -v -u admin -p changeme role info --id="21"

{
"Id": 21,
"Name": "Cc417k",
"Builtin": "No"
}

Version-Release number of selected component (if applicable):
6.3 - Foreman 1.13

How reproducible:
Always

Actual results:
Taxonomies are not returned for just created Role

Expected results:
I can get expected information for Canned Role

Additional info:
The information is available in API JSON

Actions #1

Updated by Marek Hulán over 7 years ago

  • Subject changed from Taxonomies are not returned for Canned Roles to Taxonomies are not returned for Canned Roles
  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
  • Target version set to 1.5.0
Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/262 added
Actions #3

Updated by Marek Hulán over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Tomáš Strachota about 7 years ago

  • translation missing: en.field_release set to 236
Actions

Also available in: Atom PDF