Project

General

Profile

Actions

Bug #19993

open

Setting default template should associate the template with the OS

Added by Tomáš Strachota almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

API allows to set default template for an operating system (POST /api/operatingsystems/:operatingsystem_id/os_default_templates) without prior association of the template with the os (PUT /api/operatingsystems/:id). It successfully sets the default template, but gets the OS to inconsistent stata UI isn't prepared for. OS detail page then displays a message that "No templates were found" and renders empty dropdown for template kind of the default template (see the attached screenshot).

Setting a default template should automatically associate the template with the OS. It doesn't make sense for the API to keep this operation in two steps.


Files

os_templates_screenshot.png View os_templates_screenshot.png 15 KB Tomáš Strachota, 06/13/2017 09:05 AM

No data to display

Actions

Also available in: Atom PDF