Opened 7 years ago

Closed 7 years ago

Last modified 7 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 7 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Must be something in [8216].

comment:2 Changed 7 years ago by jacob

  • Description modified (diff)

(fixed formatting)

comment:3 Changed 7 years ago by jacob

  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 7 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:5 Changed 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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