Project

General

Profile

Bug #16397

API template_combinations GET and DELETE by id not working

Added by Shimon Shtein almost 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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 hostgroup or environmentClosed2015-01-19

Associated revisions

Revision d33fe9cd (diff)
Added by Shimon Shtein over 6 years ago

Fixes #16397 - set nested template_combo. objects to optional

Revision 71318e23 (diff)
Added by Shimon Shtein over 6 years ago

Fixes #16397 - set nested template_combo. objects to optional

(cherry picked from commit d33fe9cd0e07b124e2ab5c87df7f8dfaefd24911)

Revision daf0f612 (diff)
Added by Shimon Shtein over 6 years ago

Fixes #16397 - set nested template_combo. objects to optional

(cherry picked from commit d33fe9cd0e07b124e2ab5c87df7f8dfaefd24911)

History

#1 Updated by Shimon Shtein almost 7 years ago

  • Assignee set to Shimon Shtein
  • Target version set to 1.6.1

#2 Updated by Shimon Shtein almost 7 years ago

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

#3 Updated by The Foreman Bot almost 7 years ago

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

#4 Updated by Ivan Necas almost 7 years ago

  • Description updated (diff)

#5 Updated by Ivan Necas over 6 years ago

  • Target version changed from 1.6.1 to 127

#6 Updated by Dominic Cleal over 6 years ago

  • Category changed from Unattended installations to API
  • Priority changed from High to Normal
  • Legacy Backlogs Release (now unused) set to 181

#7 Updated by Shimon Shtein over 6 years ago

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

Also available in: Atom PDF