500 error when viewing tags - AttributeError: 'NoneType' object has no attribute 'get_absolute_url'

XMLWordPrintable

    • Severity 3 - Minor

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      File "/opt/python/domains/atlassian.com/answers/lib/python2.6/site-packages/django/core/handlers/base.py", line 100, in get_response
      response = callback(request, *callback_args, **callback_kwargs)

      File "/opt/python/domains/atlassian.com/answers/ADM-24721/forum/modules/decorators.py", line 95, in decorated
      return decoratable(*args, **kwargs)

      File "/opt/python/domains/atlassian.com/answers/ADM-24721/forum/modules/decorators.py", line 55, in _call_
      res = self._callable(*args, **kwargs)

      File "/opt/python/domains/atlassian.com/answers/ADM-24721/forum/views/readers.py", line 172, in tagged
      context=context)

      File "/opt/python/domains/atlassian.com/answers/ADM-24721/forum/views/readers.py", line 224, in question_list
      return RssQuestionFeed(request, questions, page_title, list_description, paginator_context or QuestionListPaginatorContext())(request)

      File "/opt/python/domains/atlassian.com/answers/lib/python2.6/site-packages/django/contrib/syndication/views.py", line 38, in _call_
      feedgen = self.get_feed(obj, request)

      File "/opt/python/domains/atlassian.com/answers/lib/python2.6/site-packages/django/contrib/syndication/views.py", line 149, in get_feed
      self.__get_dynamic_attr('item_link', item),

      File "/opt/python/domains/atlassian.com/answers/lib/python2.6/site-packages/django/contrib/syndication/views.py", line 71, in __get_dynamic_attr
      return attr(obj)

      File "/opt/python/domains/atlassian.com/answers/ADM-24721/forum/feed.py", line 49, in item_link
      return item.leaf.get_absolute_url()

      AttributeError: 'NoneType' object has no attribute 'get_absolute_url'

      <WSGIRequest
      GET:<QueryDict:

      {u'q': [u'[ide-connector]'], u'type': [u'rss']}

      >,
      POST:<QueryDict: {}>,
      COOKIES:{},
      META:

      {'CSRF_COOKIE': 'e1d94648f731e1310265cea5aca076bc', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'answers.atlassian.com', 'HTTP_IF_MODIFIED_SINCE': 'Thu, 28 Jun 2012 19:31:16 GMT', 'HTTP_USER_AGENT': 'Feedfetcher-Google; (+http://www.google.com/feedfetcher.html; 2 subscribers; feed-id=18274536768257010777)', 'HTTP_X_FORWARDED_FOR': '72.14.199.119, 172.16.3.45', 'HTTP_X_REAL_IP': '72.14.199.119', 'PATH_INFO': u'/tags/ide-connector/', 'QUERY_STRING': 'type=rss&q=%5Bide-connector%5D', 'RAW_URI': '/tags/ide-connector/?type=rss&q=%5Bide-connector%5D', 'REMOTE_ADDR': '172.16.3.45', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'answers.atlassian.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/0.14.1', 'gunicorn.socket': <socket._socketobject object at 0xd272c90>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b80f4f171e0>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0xcd59f50>, 'wsgi.input': <gunicorn.http.body.Body object at 0xe71abd0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}

      >

            Assignee:
            eternicode
            Reporter:
            Jeremy Largman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: