Project

General

Profile

Actions

Bug #4892

closed

content views: filters & rules: api DELETE does not return the object being deleted

Added by Brad Buckingham about 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Observed an issue in the UI when deleting a filter rule. The issue was that deleting the rule (e.g. errata id, package group...etc) did not result in the object being deleted from the list. After looking at the code, it appears that it expects the object being deleted to be returned, in order to properly remove it from the list without having to refresh the entire list.

Upon investigation, it appears that the api documentation [1] expects this behavior to exist; therefore, this issue is to update the katello api to return the filter or rule that was deleted. This should fix the behavior of the UI as well.

[1] http://theforeman.org/manuals/1.5/index.html#5.1API -> "Delete an object"

Actions #1

Updated by Mike McCune about 10 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by Brad Buckingham about 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:c66621c5fc7e87bdb1667506f28508e80198237b.

Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF