Closed Bug 1640296 Opened 4 years ago Closed 4 years ago

Adding team comments to system projects is broken

Categories

(Webtools Graveyard :: Pontoon, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

Details

Attachments

(1 file)

Message: AttributeError: 'NoneType' object has no attribute 'user_set'

Traceback:
File "/app/.heroku/python/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
                  response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/newrelic/hooks/framework_django.py", line 544, in wrapper
                  return wrapped(*args, **kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/django/views/decorators/http.py", line 40, in inner
              return func(request, *args, **kwargs)
File "/app/pontoon/base/utils.py", line 110, in wrap
          return f(request, *args, **kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
                  return view_func(request, *args, **kwargs)
File "/app/.heroku/python/lib/python3.7/contextlib.py", line 74, in inner
                  return func(*args, **kwds)
File "/app/pontoon/base/views.py", line 590, in add_comment
      _send_add_comment_notifications(user, comment, entity, locale, translation)
File "/app/pontoon/base/views.py", line 501, in _send_add_comment_notifications
          translators = project_locale.translators_group.user_set.values_list(
Assignee: nobody → m
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: