Katello/katello — pull request #685 by bbuckingham (2012-09-17 22:17:14+00:00)
Title: 843529 - system group tasks - handling when systems are removed

This commit contains changes to address the observation raised
in comment #3 of the bug. Ref:

"Now it does not show Error, but it shows empty list of events.
Like if there were 3 history items, it shows "Viewing 3 of 3
results" in the bottom of the page. And shows list of 3 items
but with empty data, event and date field values are empty."

The issue raised is that while the tasks are deleted, the job
still exists. This commit will delete the job, once the last
task has been deleted.