Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#8128 closed (fixed)

Contrib.syndication throwing AttributeError in latest trunk revision

Reported by: patrickbeeson@… Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords: syndication contrib
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Jacob)

Here is my traceback:

Traceback (most recent call last):

 File "/home/pbeeson/webapps/django/lib/django/core/handlers/base.py", line 87, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/home/pbeeson/webapps/django/lib/django/contrib/syndication/views.py", line 19, in feed
   feedgen = f(slug, request).get_feed(param)

 File "/home/pbeeson/webapps/django/lib/django/contrib/syndication/feeds.py", line 146, in get_feed
   pubdate = pubdate.replace(tzinfo=FixedOffset(tzOffset))

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

Change History (5)

comment:1 by Jacob, 16 years ago

Must be something in [8216].

comment:2 by Jacob, 16 years ago

Description: modified (diff)

(fixed formatting)

comment:3 by Jacob, 16 years ago

Triage Stage: UnreviewedAccepted

comment:4 by Jacob, 16 years ago

Resolution: fixed
Status: newclosed

(In [8221]) Fixed #8128: correctly handle feeds that incorrectly don't provide pubdates. Be liberal in what you accept!

comment:5 by (none), 15 years ago

milestone: post-1.0

Milestone post-1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top