Bug #11441

Hammer does not check whether it get correct number of resources when translating name to id parameters

Added by Marek Hulán about 2 years ago. Updated 3 months ago.

Assigned To:-
Category:Hammer core
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-


When I run hammer like this

hammer -d filter create --permissions view_puppetclasses,create_puppetclasses,edit_puppetclasses,destroy_puppetclasses,import_puppetclasses --role demo2

hammer searches permissions to get their ids. Since there is not scope search support it get 30 records instead of expected 5 and he sends these permission as parameter_ids. I think we should check that we get expected number of parameters.

Related issues

Related to Foreman - Bug #11303: Filter management with hamemr seems to be missing means o... Closed 08/05/2015


#1 Updated by Marek Hulán about 2 years ago

  • Related to Bug #11303: Filter management with hamemr seems to be missing means of associating resource type added

#2 Updated by Tomáš Strachota almost 2 years ago

  • Target version set to hammer-cli 0.6.0

#3 Updated by Tomáš Strachota over 1 year ago

  • Target version changed from hammer-cli 0.6.0 to hammer-cli 0.7.0

#4 Updated by Tomáš Strachota 3 months ago

  • Target version deleted (hammer-cli 0.7.0)

Also available in: Atom PDF