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
Currently, the task logs are shown in the log table of the author of the tasks.
However, this is not intended, as the task logs should be shown in the log table of the target user.
I am not sure, but maybe the relationship is inconsistent.
The relationship on TaskLogEntry side seems to be correct:
Regarding the first thing, the question would be why user.task_log_entries does not contain those log entries which refer to the user, right? so a test skeleton might be something like
Currently, the task logs are shown in the log table of the author of the tasks.
However, this is not intended, as the task logs should be shown in the log table of the target user.
I am not sure, but maybe the relationship is inconsistent.
The relationship on TaskLogEntry side seems to be correct:
pycroft/pycroft/model/logging.py
Lines 57 to 62 in f25dc1f
But on the user site, the join condition is missing:
pycroft/pycroft/model/user.py
Lines 249 to 251 in f25dc1f
SQLA maybe does a relationship with the author instead because of that?
(Commit a7efe20#diff-8d7fe1e2c7af484e9b87c16b9981b631d191918ca6886c1c17cb3c2b08546afd)
Another bug I noticed: Opening the tab for just the task logs shows error 404
The text was updated successfully, but these errors were encountered: