Skip to content

AttributeError: 'Group' object has no attribute 'team' #3

@forestgun

Description

@forestgun

Failed to create a issues from sentry to redmine (sentry = 5.1.5 , python = 2.6.6, Django = 1.4.3 )

Internal Server Error: /localhost9000/group/3412/actions/redmine/
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/sentry-5.1.5-py2.6.egg/sentry/web/decorators.py", line 154, in wrapped
return func(request, _args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/sentry-5.1.5-py2.6.egg/sentry/web/decorators.py", line 65, in _wrapped
return func(request, project, _args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/sentry-5.1.5-py2.6.egg/sentry/web/frontend/groups.py", line 355, in group_plugin_action
response = plugin.get_view_response(request, group)
File "/usr/local/lib/python2.6/dist-packages/sentry-5.1.5-py2.6.egg/sentry/plugins/base.py", line 321, in get_view_response
response = self.view(request, group)
File "/usr/local/lib/python2.6/dist-packages/sentry-5.1.5-py2.6.egg/sentry/plugins/bases/issue.py", line 156, in view
form = self.new_issue_form(request.POST or None, initial=self.get_initial_form_data(request, group, event))
File "/usr/local/lib/python2.6/dist-packages/sentry_redmine/plugin.py", line 89, in get_initial_form_data
'description': self._get_group_description(request, group, event),
File "/usr/local/lib/python2.6/dist-packages/sentry_redmine/plugin.py", line 69, in _get_group_description
'team_slug': group.team.slug,
AttributeError: 'Group' object has no attribute 'team'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions