This project is archived and is in readonly mode.
[PATCH] Routing Mapper with % interpolation broken on Ruby 1.9.1
Reported by Santiago Pastorino | February 1st, 2010 @ 07:01 PM
ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux] on master
1) Error:
test_redirect_modulo(TestRoutingMapper):
KeyError: key not found
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/routing/mapper.rb:204:in `%'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/routing/mapper.rb:204:in `block in redirect'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/routing/mapper.rb:211:in `call'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/routing/mapper.rb:211:in `block in redirect'
/home/santiago/.gem/ruby/1.9.1/gems/rack-mount-0.4.5/lib/rack/mount/recognition/route_set.rb:70:in `call'
/home/santiago/.gem/ruby/1.9.1/gems/rack-mount-0.4.5/lib/rack/mount/recognition/route_set.rb:70:in `block in call'
/home/santiago/.gem/ruby/1.9.1/gems/rack-mount-0.4.5/lib/rack/mount/recognition/code_generation.rb:97:in `block in recognize'
/home/santiago/.gem/ruby/1.9.1/gems/rack-mount-0.4.5/lib/rack/mount/recognition/code_generation.rb:73:in `optimized_each'
/home/santiago/.gem/ruby/1.9.1/gems/rack-mount-0.4.5/lib/rack/mount/recognition/code_generation.rb:96:in `recognize'
/home/santiago/.gem/ruby/1.9.1/gems/rack-mount-0.4.5/lib/rack/mount/recognition/route_set.rb:65:in `call'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/routing/route_set.rb:419:in `call'
/home/santiago/.gem/ruby/1.9.1/gems/rack-test-0.5.3/lib/rack/mock_session.rb:30:in `request'
/home/santiago/.gem/ruby/1.9.1/gems/rack-test-0.5.3/lib/rack/test.rb:207:in `process_request'
/home/santiago/.gem/ruby/1.9.1/gems/rack-test-0.5.3/lib/rack/test.rb:105:in `request'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/testing/integration.rb:272:in `process'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/testing/integration.rb:30:in `get'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/lib/action_dispatch/testing/integration.rb:315:in `block (2 levels) in '
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/test/dispatch/routing_test.rb:233:in `block in test_redirect_modulo'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/test/dispatch/routing_test.rb:719:in `with_test_routes'
/home/santiago/Documentos/WyeWorks/Proys/rails/actionpack/test/dispatch/routing_test.rb:232:in `test_redirect_modulo'
/home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:64:in `block in run'
/home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/callbacks.rb:432:in `_run_setup_callbacks'
/home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
Finished in 31.398957851 seconds.
Comments and changes to this ticket
-
Santiago Pastorino February 2nd, 2010 @ 10:47 AM
- Assigned user set to José Valim
-
Repository February 2nd, 2010 @ 11:00 AM
(from [afdf52402ea7cb153be54a342f0e6502a159e327]) Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/afdf52402ea7cb153be54a342f0e65... -
José Valim February 3rd, 2010 @ 10:03 AM
- State changed from new to resolved
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 3837 [PATCH] Routing Mapper with % interpolation broken on Ruby 1.9.1 (from [afdf52402ea7cb153be54a342f0e6502a159e327]) Routing...