This project is archived and is in readonly mode.
[PATCH] fragment caching TypeError can't modify frozen object
Reported by Santiago Pastorino | February 1st, 2010 @ 03:06 PM | in 2.3.6
Ruby 1.8.7 on 2-3-stable
(in /home/santiago/Documentos/WyeWorks/Proys/rails/actionpack)
Attempting to load Active Record... success
Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 34.35891 seconds.
1) Error:
test_fragment_for(FragmentCachingTest):
TypeError: can't modify frozen object
./test/../../activesupport/lib/active_support/core_ext/string/output_safety.rb:20:in `html_safe!'
./test/../lib/action_controller/caching/fragments.rb:40:in `fragment_for'
./test/controller/caching_test.rb:619:in `test_fragment_for'
./test/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `__send__'
./test/../../activesupport/lib/active_support/testing/setup_and_teardown.rb:62:in `run'
2468 tests, 11406 assertions, 0 failures, 1 errors
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test" "/usr/lib/ru...]
Comments and changes to this ticket
-
Jose Ignacio Costa February 1st, 2010 @ 04:16 PM
- Tag changed from 2.3, actioncontroller, cache, fail to 2.3, actioncontroller, cache, fail, patch
-
Santiago Pastorino February 2nd, 2010 @ 12:01 PM
- Assigned user set to José Valim
-
José Valim February 2nd, 2010 @ 12:22 PM
- Assigned user cleared.
-
Santiago Pastorino February 2nd, 2010 @ 01:23 PM
- Assigned user set to Jeremy Kemper
-
Santiago Pastorino February 2nd, 2010 @ 01:33 PM
- Tag changed from 2.3, actioncontroller, cache, fail, patch to 2.3, 2.3.6, actioncontroller, cache, fail, patch
-
Jeremy Kemper February 5th, 2010 @ 08:25 PM
- State changed from new to resolved
- Milestone set to 2.3.6
Resolved by html_safe backport.
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>