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 #1223 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

[PATCH] FeedController should be a simple Controller instead of RootController

Reported by: faide Owned by: anonymous
Priority: normal Milestone:
Component: unassigned Version: 1.0b2
Severity: normal Keywords:
Cc:

Description

When you try to do something with a feed controller you generally mount it somewhere in you application. Since the feed controller is then NOT the RootController? of the application it should inherit from Controller instead of RootController?.

This impacts notably when you try to use a function like turbogears.url() from within the mounted FeedController? which currently behaves unexpectedly because of this.

Attachments

feed.py.diff Download (398 bytes) - added by faide 12 years ago.
A patch that makes the FeedController? inherit from a simple controller instead of the root one

Change History

Changed 12 years ago by faide

A patch that makes the FeedController? inherit from a simple controller instead of the root one

comment:1 Changed 12 years ago by alberto

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

Comitted at [2310]. Thanks! :)

Note: See TracTickets for help on using tickets.