Opened 8 years ago

Closed 8 years ago

Last modified 8 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: UI/UX:

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 Changed 8 years ago by Jacob

Must be something in [8216].

comment:2 Changed 8 years ago by Jacob

Description: modified (diff)

(fixed formatting)

comment:3 Changed 8 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:4 Changed 8 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 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

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