Bug #16397

API template_combinations GET and DELETE by id not working

Added by Shimon Shtein 7 months ago. Updated 7 months ago.

Status:Closed
Priority:Normal
Assigned To:Shimon Shtein
Category:API
Target version:Team Ivan Iteration 3
Difficulty: Bugzilla link:1369737
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3802
Story points-
Velocity based estimate-
Release1.12.3Release relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1369737
Description of problem:
With 6.2.1 there GET and DELETE of templates_combinations is not working anymore.
This is a regression over 6.0/6.1 where the same process worked for years.

Steps to Reproduce:
1. Assiocate a template with a hostgroup
2. Get association using the API GET template_combinations/:id
3. Delete association using the API DELETE template_combinations/:id

Actual results:
Step 2 and 3 are giving a resource not foudn

Expected results:
Step 2 lists the tempmplate combination
Step 3 deletes the template combination

Additional info:


Related issues

Related to Foreman - Feature #9031: Missing API call to list config_template combinations per... Closed 01/19/2015

Associated revisions

Revision d33fe9cd
Added by Shimon Shtein 7 months ago

Fixes #16397 - set nested template_combo. objects to optional

History

#1 Updated by Shimon Shtein 7 months ago

  • Assigned To set to Shimon Shtein
  • Target version set to Team Ivan Iteration 2

#2 Updated by Shimon Shtein 7 months ago

  • Related to Feature #9031: Missing API call to list config_template combinations per hostgroup or environment added

#3 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3802 added

#4 Updated by Ivan Necas 7 months ago

  • Description updated (diff)

#5 Updated by Ivan Necas 7 months ago

  • Target version changed from Team Ivan Iteration 2 to Team Ivan Iteration 3

#6 Updated by Dominic Cleal 7 months ago

  • Category changed from Unattended installations to API
  • Priority changed from High to Normal
  • Release set to 1.12.3

#7 Updated by Shimon Shtein 7 months ago

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

Also available in: Atom PDF