Project

General

Profile

Actions

Bug #28333

closed

GET /api/job_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:
Foreman
Target version:
-
Difficulty:
Triaged:
No

Description

our templates (lol) for job_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 - Bug #28332: GET /api/provisioning_templates/:id returns `audit_comment: null`ClosedEvgeni GolovActions
Actions #1

Updated by Evgeni Golov over 4 years ago

  • Related to Bug #28332: GET /api/provisioning_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_remote_execution/pull/450 added
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases foreman_remote_execution 2.0.4 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