#264 new
diabolo

Nested forms webrat can submit inner form browsers don't

Reported by diabolo | June 15th, 2009 @ 06:26 AM

I have some bad code at the moment which does roughly the following

form post edit_order

form post login
   login fields
   submit login button
end form
button edit order

end form

Apologies for my dodgy pseudocode :)

Anyhow in webrat if I fill in the login fields and press the login button, then the login form is correctly submitted

In firefox and safari if I do the same the order is edited.

Now I realise that my form is pants, but thats not the point. What I'd hope is that this code blow up under webrat so my feature would fail, i.e that webrat would post the outer form.

I think of this as a nice to have, so am submitting the bug just to pass on the info which hopefully is useful.

All best - and thankyou for webrat

Andrew

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages