Describe the bug
As a Repository Manager, I regularly look at item logs to see whether my colleagues have previously contacted the submitting author. Now accessing certain logs results in errors.
Janeway version
1.7.4
To Reproduce
Steps to reproduce the behavior:
- Log in with moderator or admin account and go to Repo Manager: https://dev.eartharxiv.org/repository/manager/
- Click an accepted/published preprint to view metadata, e.g. https://dev.eartharxiv.org/repository/manager/2888/
- Under Control, click Log: https://dev.eartharxiv.org/repository/manager/2888/log/?return=/repository/manager/2888/
- See error. Sentry report:
VariableDoesNotExist Failed lookup for key [article] in [{'True': True, 'False': False, 'None': None}, {}, {}, {'preprint': <Preprint: 20240506 - x.15.3 submission test>, 'log_entries': <QuerySet [[Submission] 2024-05-06 16:13:26.870853+00:00 - Researcher [...]
Note: This error does not occur with all repository items. Unable to determine a pattern -- no email to submitting author, no issue? e.g. published items: 2873 log is accessible, 2895 log is not. of new submissions: 2865 log is accessible, 2889 log is not
Expected behavior
Log would be able to be accessed at all times by manager / admin.
Describe the bug
As a Repository Manager, I regularly look at item logs to see whether my colleagues have previously contacted the submitting author. Now accessing certain logs results in errors.
Janeway version
1.7.4
To Reproduce
Steps to reproduce the behavior:
VariableDoesNotExist Failed lookup for key [article] in [{'True': True, 'False': False, 'None': None}, {}, {}, {'preprint': <Preprint: 20240506 - x.15.3 submission test>, 'log_entries': <QuerySet [[Submission] 2024-05-06 16:13:26.870853+00:00 - Researcher [...]Note: This error does not occur with all repository items. Unable to determine a pattern -- no email to submitting author, no issue? e.g. published items: 2873 log is accessible, 2895 log is not. of new submissions: 2865 log is accessible, 2889 log is not
Expected behavior
Log would be able to be accessed at all times by manager / admin.