Bug #16223
closeddeletig oscap reports notif says 'Successfully deleted 0 compliance reports'
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1326276
Description of problem:
deletig oscap reports notif says 'Successfully deleted 0 compliance reports'
Version-Release number of selected component (if applicable):
sat62-snap7.1
How reproducible:
Steps to Reproduce:
1. after 'foreman_scap_client <policy_id>' command is run on the host
2. Reports are seen under compliance reports page
3. Delete the compliance reports to note, the notif
Actual results:
deletig oscap reports notif says 'Successfully deleted 0 compliance reports'
Deleting 1 or multiple reports shows "0" compliance reports.
Expected results:
deletig oscap reports notif should specify the count appropriately , rather than the below message for any number of deleted reports.
'Successfully deleted 0 compliance reports'
Additional info: