Project

General

Profile

Actions

Bug #28332

closed

GET /api/provisioning_templates/:id returns `audit_comment: null`

Added by Evgeni Golov over 4 years ago. Updated over 4 years ago.

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

Description

(this also applies to config templates)

our templates (lol) for provisioning_templates and config_templates contain a reference to the audit_comment, but there is no such field in the model, so the api response always contains "audit_comment: null"

I think this field should be write only (when you create/update) a template, as it gets stored in the audits, not in the templates itself.


Related issues 1 (0 open1 closed)

Related to Foreman Remote Execution - Bug #28333: GET /api/job_templates/:id returns `audit_comment: null`ClosedEvgeni GolovActions
Actions #1

Updated by Evgeni Golov over 4 years ago

  • Related to Bug #28333: GET /api/job_templates/:id returns `audit_comment: null` added
Actions #2

Updated by The Foreman Bot over 4 years ago

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

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #4

Updated by Evgeni Golov over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF