Actions
Bug #30358
closedAssets are not deleted when unassigning policy from host
Difficulty:
Triaged:
No
Description
The issue does not cause any problems, however we should clean up assets when unassigning policy from hosts.
Steps to reproduce:
1) ForemanOpenscap::Asset.all to check current assets
2) Assign a policy to a host
3) Unassign a policy from a host
4) repeat step 1, notice asset new asset is still present. Repeat steps 2 and 3 and observe asset count to grow.
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_openscap/pull/441 added
Updated by The Foreman Bot almost 4 years ago
- Fixed in Releases foreman_openscap 4.1.0 added
Updated by Ondřej Pražák over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_openscap|01e96f1bf2fb1d25064ceb94e9aa8ba5f0c80efa.
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/theforeman/foreman_openscap/pull/450 added
Actions