Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2348 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

[patch] kid template should be hardcoded in FeedController's feeds.py

Reported by: mapleoin Owned by:
Priority: low Milestone:
Component: TurboGears Version: 1.0 HEAD
Severity: minor Keywords:
Cc: mapleoin@…

Description (last modified by Chris Arndt) (diff)

Hi!

I'm just copying this from the mailing list [0], hoping I'll have more luck in here.

I think there is a problem with the FeedController when using anything but Kid as the default templating engine (we're using genshi). All the three output methods(atom1_0, atom0_3 and rss2_0) look for an .html file which they cannot find. Hardcoding the methods to look for a kid template regardless of the default (as shown in the attached diff) works prefectly. This had also happened to someone else before, as can be seen in the comment here:  http://docs.turbogears.org/1.0/FeedController

Thanks a lot!

[0]  http://groups.google.com/group/turbogears/browse_thread/thread/ec98386206f55655

Attachments

feedkid.diff Download (1.3 KB) - added by mapleoin 8 years ago.

Change History

Changed 8 years ago by mapleoin

comment:1 Changed 8 years ago by Chris Arndt

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Thanks for the report & patch. Since TG 1.0.x is in maintenance mode, and only will receive critical bug-fixes, I will not apply your fix there. I applied your patch to the TG 1.1 branch in r6602, but FeedController is deprecated there.

Please use the newer and better TurboFeeds package.

Note: See TracTickets for help on using tickets.