Project

General

Profile

Actions

Bug #6177

closed

Setting host build flag via API doesn't clear facts and reports

Added by Dominic Cleal almost 10 years ago. Updated almost 6 years ago.

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

Description

When setting the build attribute on a host to true from the API (or CLI) doesn't clear facts and reports from the hosts. This differs from the UI as it calls Host::Managed#setBuild, while the API is just setting the attribute.

The clear facts/reports might be best moved to the model when the attribute is changed, and the setBuild action on HostsController could just update the attribute.

Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
  • Target version set to 1.8.1
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • translation missing: en.field_release set to 18
Actions #3

Updated by Dominic Cleal almost 10 years ago

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

Updated by Bryan Kearney almost 10 years ago

  • Bugzilla link set to 1114645
Actions

Also available in: Atom PDF