Gabe da Silveira
2008-Jan-15 06:01 UTC
Patch Review Requested for assert_redirected_to bug.
Got bit by an edge case of assert_redirected_to today. Basically it fails if you are redirecting from within a namespaced controller to a top-level controller of the same name if you use a named route. Not only that, but I also found a few tests passing that shouldn''t have been as a result of this bug. If a few people could install the patch (both the test failure and fix are included) and give it the thumbs up I''d appreciate it: http://dev.rubyonrails.org/ticket/10812 -- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Gabe da Silveira
2008-Jan-16 06:36 UTC
Re: Patch Review Requested for assert_redirected_to bug.
This is now updated with a new patch with an additional explicit test. Still looking for reviewers--remember this is a bug that will sooner or later bite anyone using RESTful routing and namespaced controllers. On Jan 14, 2008 10:01 PM, Gabe da Silveira <gabriel.d@gmail.com> wrote:> Got bit by an edge case of assert_redirected_to today. Basically it > fails if you are redirecting from within a namespaced controller to a > top-level controller of the same name if you use a named route. Not > only that, but I also found a few tests passing that shouldn''t have > been as a result of this bug. If a few people could install the patch > (both the test failure and fix are included) and give it the thumbs up > I''d appreciate it: > > http://dev.rubyonrails.org/ticket/10812 > > -- > Gabe da Silveira > http://darwinweb.net >-- Gabe da Silveira http://darwinweb.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Gabe da Silveira
2008-Jan-17 17:14 UTC
Re: Patch Review Requested for assert_redirected_to bug.
Gonna put out the call one more time for this. I have done 3 revisions on this per Koz'' request. It''s a simple bug fix. Take 5 mins and save your future self the couple hours I spent diagnosing and fixing this logical error in assert_redirected_to: http://dev.rubyonrails.org/ticket/10812 On Jan 15, 2008 10:36 PM, Gabe da Silveira <gabriel.d@gmail.com> wrote:> This is now updated with a new patch with an additional explicit test. > Still looking for reviewers--remember this is a bug that will sooner > or later bite anyone using RESTful routing and namespaced controllers. > > > On Jan 14, 2008 10:01 PM, Gabe da Silveira <gabriel.d@gmail.com> wrote: > > Got bit by an edge case of assert_redirected_to today. Basically it > > fails if you are redirecting from within a namespaced controller to a > > top-level controller of the same name if you use a named route. Not > > only that, but I also found a few tests passing that shouldn''t have > > been as a result of this bug. If a few people could install the patch > > (both the test failure and fix are included) and give it the thumbs up > > I''d appreciate it: > > > > http://dev.rubyonrails.org/ticket/10812 > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---