Actions
Bug #28634
closedTask search query returns results with null ids
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
While investigating https://bugzilla.redhat.com/show_bug.cgi?id=1782593 (task monitor page links broken) we noticed that the ids of the links were NULL.
Looking into the foreman-tasks api/tasks_controller it appears that the "ordering_scope" scope method returns a result set with task ids as NULLs.
The Rails AR .select method in question:
Actions