You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I seem to be bothering you with quite some issues/questions, but here's another one I noticed:
When checking the global dashboard or a project dashboard, the event.object_name seems to be incorrectly loaded. I would expect it to show the playbook name of the task that the event it is related to, instead it is showing the playbook name of the oldest task available in the history. It thus also shows the same object_name for every event in the dashboard.
I seem to be bothering you with quite some issues/questions, but here's another one I noticed:
When checking the global dashboard or a project dashboard, the event.object_name seems to be incorrectly loaded. I would expect it to show the playbook name of the task that the event it is related to, instead it is showing the playbook name of the oldest task available in the history. It thus also shows the same object_name for every event in the dashboard.
Digging into the code it looks like this query is to blame: https://github.com/ansible-semaphore/semaphore/blob/master/api/events.go#L44-L46. It does not take into account the event.object_id or the fact that the task might get deleted while the event remains.
The text was updated successfully, but these errors were encountered: