Hi Josh,

Just spotted that I'm getting the following error when creating a page using 
your file page part example.

can't modify frozen hash

with the following stack trace

/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:214:in
 `delete'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:214:in
 `rollback_active_record_state!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in
 `save'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb:61:in
 `insert_record'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:145:in
 `send'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:145:in
 `send'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/autosave_association.rb:296:in
 `save_collection_association'
/Users/johnpolling/Sites/Vista/vendor/extensions/paperclipped/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:168:in
 `method_missing'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in
 `method_missing_without_paginate'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in
 `method_missing'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in
 `each'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in
 `send'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in
 `method_missing'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in
 `method_missing_without_paginate'
/Users/johnpolling/Sites/Vista/vendor/extensions/paperclipped/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:168:in
 `method_missing'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/autosave_association.rb:289:in
 `save_collection_association'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/autosave_association.rb:168:in
 `autosave_associated_records_for_parts'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:180:in
 `evaluate_method'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:180:in
 `evaluate_method'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:180:in
 `instance_eval'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:180:in
 `evaluate_method'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in
 `call'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in
 `run'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
 `each'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
 `send'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in
 `run'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in
 `run_callbacks'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/callbacks.rb:344:in
 `callback'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/callbacks.rb:267:in
 `create'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:2874:in
 `create_or_update_without_callbacks'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/callbacks.rb:250:in
 `create_or_update'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:2555:in
 `save_without_validation!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/validations.rb:1088:in
 `save_without_dirty!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/dirty.rb:87:in
 `save_without_transactions!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
 `save!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in
 `transaction'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in
 `transaction'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
 `save!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:208:in
 `rollback_active_record_state!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/transactions.rb:200:in
 `save!'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:2635:in
 `update_attributes!'
/Users/johnpolling/Sites/Vista/vendor/radiant/app/controllers/admin/resource_controller.rb:65:in
 `create'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in
 `send'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in
 `perform_action_without_filters'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in
 `call_filters'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in
 `run_before_filters'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in
 `call'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:189:in
 `call'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:635:in
 `run_before_filters'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in
 `call_filters'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in
 `perform_action_without_benchmark'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
 `perform_action_without_rescue'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in
 `realtime'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
 `perform_action_without_rescue'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in
 `perform_action_without_flash'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in
 `perform_action'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:532:in
 `send'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:532:in
 `process_without_filters'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in
 `sass_old_process'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/plugins/haml/lib/sass/plugin/rails.rb:20:in
 `process'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:391:in
 `process'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/base.rb:386:in
 `call'
/Users/johnpolling/Sites/Vista/vendor/radiant/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in
 `call'

Is this a problem in Production mode as well?

Interestingly if I press Save and continue editing the page just hangs. 

Thanks again

John


On 5 May 2010, at 01:27, Josh French wrote:

>> Thanks for looking into this so quickly. Will run an update first  
>> thing in the morning.
> Oops -- you'll have to update PageFactory as well. I believe that's the last 
> of it.
> 
> j
> _______________________________________________
> Radiant mailing list
> Post: Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> Radiant: http://radiantcms.org
> Extensions: http://ext.radiantcms.org

_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to