http://loco.ubuntu.com/events/global/17/detail/ triggers 404

Bug #589226 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
High
Michael Hall

Bug Description

Tags: events

Related branches

Revision history for this message
Daniel Holbach (dholbach) wrote :

Traceback (most recent call last):

  File "/var/lib/python-support/python2.5/django/core/handlers/base.py", line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/loco.ubuntu.com/loco_directory/events/views.py", line 302, in global_event_detail
    request.user.groups.exclude(name__exact='ubuntu-lococouncil'))

  File "/var/lib/python-support/python2.5/django/db/models/manager.py", line 108, in exclude
    return self.get_query_set().exclude(*args, **kwargs)

  File "/var/lib/python-support/python2.5/django/db/models/query.py", line 496, in exclude
    return self._filter_or_exclude(True, *args, **kwargs)

  File "/var/lib/python-support/python2.5/django/db/models/query.py", line 505, in _filter_or_exclude
    clone.query.add_q(~Q(*args, **kwargs))

  File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1254, in add_q
    self.add_q(child, used_aliases)

  File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1258, in add_q
    can_reuse=used_aliases)

  File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 1126, in add_filter
    opts = self.get_meta()

  File "/var/lib/python-support/python2.5/django/db/models/sql/query.py", line 132, in get_meta
    return self.model._meta

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

Changed in loco-directory:
importance: Undecided → High
status: New → Triaged
tags: added: events
Revision history for this message
Daniel Holbach (dholbach) wrote :

I guess this needs fixing in loco_directory/events/views.py global_event_detail() line 301.

Changed in loco-directory:
assignee: nobody → mhall119 (mhall119)
milestone: none → 0.2.10
status: Triaged → Fix Committed
Changed in loco-directory:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.