Hi
Just trying to make my way through the ttt example.  I'm hitting this
error (log output pasted below), with both the process definitions
that uploaded with densha and those I've created (the tea tasting
ones).  All launch ok, but this error arises when the workitem is
viewed / edited in ../stores (either as admin or other user like
'reception').
Running Rails 2.0.2.
Many thanks
Jason

ActionView::TemplateError (undefined method `params' for
#<OpenWFE::Extras::Workitem:0x4e83128>) on line #2 of workitem/
edit.rhtml:
1:
2: <%= render :partial => find_partial("__workitem_partial",
"workitem") %>
3:
4: <div class="explanation">
5: View or edition of a workitem.<br/>

    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/
active_record/attribute_methods.rb:205:in `method_missing'
    app/helpers/workitem_helper.rb:126:in `find_partial'
    app/views/workitem/edit.rhtml:2:in
`_run_erb_47app47views47workitem47edit46rhtml'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_view/base.rb:637:in `send'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_view/base.rb:637:in `compile_and_render_template'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_view/base.rb:365:in `render_template'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_view/base.rb:316:in `render_file'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:1100:in `render_for_file'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:861:in `render_with_no_layout'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/layout.rb:262:in `render_without_benchmark'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:51:in `render'
    c:/Programs/Ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:51:in `render'
    app/controllers/workitem_controller.rb:94:in `view'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:1158:in `send'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:1158:in `perform_action_without_filters'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:697:in `call_filters'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:689:in `perform_action_without_benchmark'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
    c:/Programs/Ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/rescue.rb:199:in `perform_action_without_caching'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/caching.rb:678:in `perform_action'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/
active_record/connection_adapters/abstract/query_cache.rb:33:in
`cache'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/
active_record/query_cache.rb:8:in `cache'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/caching.rb:677:in `perform_action'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:524:in `send'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:524:in `process_without_filters'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/filters.rb:685:in
`process_without_session_management_support'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/session_management.rb:123:in `process'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/base.rb:388:in `process'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:171:in `handle_request'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:115:in `dispatch'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:126:in `dispatch_cgi'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/dispatcher.rb:9:in `dispatch'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/
webrick_server.rb:112:in `handle_dispatch'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/
webrick_server.rb:78:in `service'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:173:in
`start_thread'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:162:in
`start_thread'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
    c:/Programs/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/
webrick_server.rb:62:in `dispatch'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/
servers/webrick.rb:66
    c:/Programs/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'
    c:/Programs/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:342:in `new_constants_in'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
active_support/dependencies.rb:496:in `require'
    c:/Programs/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/
server.rb:39
    c:/Programs/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'
    c:/Programs/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
    script/server:3

Rendering c:/Programs/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/
action_controller/templates/rescues/layout.erb (internal_server_error)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to