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

Opened 11 years ago

Last modified 11 years ago

[PATCH] fix the broken feed redirection to default handler

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

Description

Last patch I proposed broke the redirection for the default handler.

Here is the follow-up to my earlier patch.

Attachments

feed_redirect.diff Download (435 bytes) - added by faide 11 years ago.
Make the redirection to the default feed controller work in the non RootController? version

Change History

comment:1 Changed 11 years ago by faide

--- turbogears/feed/feed.py.OLD 2007-01-06 01:18:05.000000000 +0100 +++ turbogears/feed/feed.py 2007-01-06 01:18:11.000000000 +0100 @@ -43,7 +43,7 @@

return feed

def index(self):

  • raise cherrypy.HTTPRedirect(turbogears.url("/%s" % self.default))

+ raise cherrypy.HTTPRedirect(turbogears.url("%s" % self.default))

index = turbogears.expose()(index)

def atom1_0(self, kwargs):

comment:2 Changed 11 years ago by faide

I know this is sub-optimal to post the patch in a comment but I receive a 500 error from trac when trying to attach my file...

Changed 11 years ago by faide

Make the redirection to the default feed controller work in the non RootController? version

comment:3 Changed 11 years ago by faide

  • Milestone set to 1.0.1

comment:4 Changed 11 years ago by alberto

  • Owner changed from anonymous to alberto
  • Status changed from new to assigned

comment:5 Changed 11 years ago by alberto

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

Comitted at [2372]. Thanks :)

Alberto

Note: See TracTickets for help on using tickets.