Crib comment creation fails if contributed crib has no associated user. #46

Closed
opened 2023-07-05 15:28:32 +02:00 by anselm · 3 comments
anselm commented 2023-07-05 15:28:32 +02:00 (Migrated from gitlab.anselms.net)

Sentry Issue: STRATHSPEY-15

AttributeError: 'NoneType' object has no attribute 'email'
(2 additional frame(s) were not displayed)
...
  File "ace4/db/views/issues.py", line 242, in dispatch
    return super().dispatch(request, *args, **kwargs)
  File "ace4/db/views/issues.py", line 190, in form_valid
    recipient = self.object.user.email
Sentry Issue: [STRATHSPEY-15](https://sentry.strathspey.org/organizations/strathspey/issues/40/?referrer=gitlab_integration) ``` AttributeError: 'NoneType' object has no attribute 'email' (2 additional frame(s) were not displayed) ... File "ace4/db/views/issues.py", line 242, in dispatch return super().dispatch(request, *args, **kwargs) File "ace4/db/views/issues.py", line 190, in form_valid recipient = self.object.user.email ```
anselm commented 2023-07-15 18:02:02 +02:00 (Migrated from gitlab.anselms.net)
created branch [`46-crib-comment-creation-fails-if-contributed-crib-has-no-associated-user`](/strathspey/ace4/-/compare/main...46-crib-comment-creation-fails-if-contributed-crib-has-no-associated-user) to address this issue
anselm commented 2023-07-15 18:02:50 +02:00 (Migrated from gitlab.anselms.net)

mentioned in merge request !20

mentioned in merge request !20
anselm commented 2023-07-15 18:06:09 +02:00 (Migrated from gitlab.anselms.net)

mentioned in commit 269eb26c34

mentioned in commit 269eb26c34342bbcdc9d9bb2c0eab7df149969df
anselm (Migrated from gitlab.anselms.net) closed this issue 2023-07-15 18:06:10 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Strathspey/ace4#46
No description provided.