#107 ✓resolved
atmorell

A NoMethodError Exception occurred in templates#popup_feature

Reported by atmorell | October 5th, 2010 @ 05:00 AM

Hey,

I have added a blog to my page and created a new user with the editor permissions. Further more permissions on the blog modules has been updated, so that editors can add new post etc. This is working fine from the backend, but I can't get it working from the front end.

The paragraph "User Blog Write Post" renders nothing at all. If I set up a page connection the blog modules Webiva crashes.

User Blog Write Post: Blog target: [Active User - User] >> Blog Target

A NoMethodError Exception occurred in templates#popup_feature

undefined method target' for nil:NilClass [RAILS_ROOT]/vendor/modules/blog/app/controllers/blog/edit_renderer.rb:76:inwrite'

  • URL: http://www.mywebiva.com/website/templates/popup_feature/1?para_inde...
  • Parameters: {"paragraph_id"=>"100", "action"=>"popup_feature", "authenticity_token"=>"6TQOwkb9Q1OMKccmGIjA6PnhV3s6u0l0X21gxTKMzsw=", "feature_id"=>"1", "path"=>["1"], "controller"=>"templates", "para_index"=>"5"}
  • Rails root: /mnt/hgfs/Websider/Webiva
  • User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; da; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10* Process: 30217
  • Server : ubuntu

[RAILS_ROOT]/vendor/modules/blog/app/controllers/blog/edit_renderer.rb:76:in write' [RAILS_ROOT]/lib/site_node_engine.rb:187:insend' [RAILS_ROOT]/lib/site_node_engine.rb:187:in render_module_paragraph' [RAILS_ROOT]/lib/site_node_engine.rb:150:incompile_paragraph' [RAILS_ROOT]/lib/site_node_engine.rb:601:in run_paragraph' [RAILS_ROOT]/app/controllers/templates_controller.rb:439:inpopup_feature' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in send' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:1331:inperform_action_without_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in call_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:610:inperform_action_without_benchmark' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:inms' /usr/lib/ruby/1.8/benchmark.rb:308:in realtime' [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:inms' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:inperform_action_without_flash' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in perform_action' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:insend' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:532:in process_without_filters' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/filters.rb:606:inprocess' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:391:in process' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:386:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:indispatch' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in _call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130 [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:incall' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in call' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in cache' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:incall' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in call' /usr/lib/ruby/1.8/rack/head.rb:9:incall' /usr/lib/ruby/1.8/rack/methodoverride.rb:24:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:incall' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb:122:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:incall' /usr/lib/ruby/1.8/rack/lock.rb:11:in call' /usr/lib/ruby/1.8/rack/lock.rb:11:insynchronize' /usr/lib/ruby/1.8/rack/lock.rb:11:in call' [RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:incall' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in process_request' /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:441:in start_request_handler' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:381:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:252:in safe_fork' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:377:inhandle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in __send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:inmain_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in start_synchronously' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:instart' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:222:in start' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:253:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in lookup_or_add' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:247:inspawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in synchronize' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:insynchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:246:in spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:145:inspawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:278:in handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:instart_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61

Am I missing something?

Comments and changes to this ticket

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 ยป

Shared Ticket Bins

People watching this ticket

Referenced by

Pages