Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#8128 closed (fixed)

Contrib.syndication throwing AttributeError in latest trunk revision

Reported by: patrickbeeson@… Owned by: nobody
Component: Uncategorized Version: master
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/", line 87, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

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

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

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

Change History (5)

comment:1 Changed 11 years ago by Jacob

Must be something in [8216].

comment:2 Changed 11 years ago by Jacob

Description: modified (diff)

(fixed formatting)

comment:3 Changed 11 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:4 Changed 11 years ago by Jacob

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 Changed 10 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

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