Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] fragment caching TypeError can't modify frozen object

#3834

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...]

Reported by Santiago Pastorino · February 1st, 2010 @ 03:06 PM

State: resolved
Milestone: 2.3.6
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: Low

Activity

  1. Jose Ignacio Costa
    Jose Ignacio Costa
    • Tag changed from 2.3, actioncontroller, cache, fail to 2.3, actioncontroller, cache, fail, patch

    February 1st, 2010 @ 04:16 PM

  2. Santiago Pastorino
    Santiago Pastorino
    • Assigned user set to José Valim

    February 2nd, 2010 @ 12:01 PM

  3. José Valim
  4. Santiago Pastorino
    Santiago Pastorino
    • Assigned user set to Jeremy Kemper

    February 2nd, 2010 @ 01:23 PM

  5. Santiago Pastorino
    Santiago Pastorino
    • Tag changed from 2.3, actioncontroller, cache, fail, patch to 2.3, 2.3.6, actioncontroller, cache, fail, patch

    February 2nd, 2010 @ 01:33 PM

  6. Jeremy Kemper
    Jeremy Kemper
    • State changed from new to resolved
    • Milestone set to 2.3.6

    Resolved by html_safe backport.

    February 5th, 2010 @ 08:25 PM