GraphQLError: 'NoneType' object has no attribute 'id'
Sentry Issue: INFO-PROD-49
GraphQLError: 'NoneType' object has no attribute 'id'
(10 additional frame(s) were not displayed)
...
File "/srv/aleksis/envs/production/lib/python3.11/site-packages/aleksis/core/views.py", line 1326, in execute_graphql_request
raise error
File "graphql/execution/execute.py", line 523, in execute_field
result = resolve_fn(source, info, **args)
File "/srv/aleksis/envs/production/lib/python3.11/site-packages/aleksis/apps/alsijil/schema/participation_status.py", line 148, in mutate
*[cls.create_absence(info, participation_id) for participation_id in input]
File "/srv/aleksis/envs/production/lib/python3.11/site-packages/aleksis/apps/alsijil/schema/participation_status.py", line 148, in <listcomp>
*[cls.create_absence(info, participation_id) for participation_id in input]
File "/srv/aleksis/envs/production/lib/python3.11/site-packages/aleksis/apps/alsijil/schema/participation_status.py", line 124, in create_absence
reason_id=participation.absence_reason.id,