mvanholstyn
2007-Sep-04 16:10 UTC
Rendering a layout overwrites the template''s status code (Ticket #9476)
Changeset 7403 broke rendering a template inside a layout with a specific status code. When the template is rendered, the status code is set, however the layout is rendered with the default "200 OK" status code, overwriting the one assigned when the template was rendered. The attached patch adds a failing test for this problem, and includes a fix for problem. http://dev.rubyonrails.org/ticket/9476 Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Mark Van Holstyn
2007-Sep-08 02:25 UTC
Re: Rendering a layout overwrites the template''s status code (Ticket #9476)
This patch has been given a few thumbs up. Could we get this bug fix applied? Mark On 9/4/07, mvanholstyn <mvette13@gmail.com> wrote:> > > Changeset 7403 broke rendering a template inside a layout with a > specific status code. When the template is rendered, the status code > is set, however the layout is rendered with the default "200 OK" > status code, overwriting the one assigned when the template was > rendered. The attached patch adds a failing test for this problem, and > includes a fix for problem. > > http://dev.rubyonrails.org/ticket/9476 > > Mark > > > > >-- Mark Van Holstyn, Partner / Software Developer mvanholstyn@mutuallyhuman.com, (616) 706-6842 Mutually Human Software, http://mutuallyhuman.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---