Closed lauraeci closed 9 years ago
Hey @lauraeci, sorry you never got a response about this. It's been so long now that I assume you have either moved on or figured it out. As far as I know, external tool assignments are currently working well, but let us know if this is still a problem.
Haha, yeah we've moved on. Thanks @simonista. :)
Following this example on https://github.com/instructure/lti_example. Created a new Assignment of Type External Tool pointing to my local lti_example service and I get this error message:
NoMethodError in AssignmentsController#show
undefined method `content_type' for nil:NilClass
Application Trace | Framework Trace | Full Trace /Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/whiny_nil.rb:52:in
method_missing' /canvas/app/controllers/application_controller.rb:803:in
content_tag_redirect' /canvas/app/controllers/assignments_controller.rb:102:inshow' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:135:in
call' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:135:incustom' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:179:in
call' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:179:inrespond' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:173:in
each' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:173:inrespond' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/mime_responds.rb:107:in
respond_to' /Users/lmarshall/Tools/canvas/app/controllers/assignments_controller.rb:94:inshow' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
send' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:inperform_action_without_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in
call_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:638:inrun_before_filters' /Users/lmarshall/Tools/canvas/app/controllers/application_controller.rb:57:in
set_locale' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:insend' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
evaluate_method' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:186:incall' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:635:in
run_before_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:615:incall_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in
perform_action_without_benchmark' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in
ms' /Library/Ruby/Gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:inms' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
perform_action_without_rescue' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:inperform_action_without_flash' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in
perform_action' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:insend' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
process_without_filters' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:inprocess_without_compass' /Library/Ruby/Gems/1.8/gems/compass-0.11.5/lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in
process' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:inprocess' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in
call' /Library/Ruby/Gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in `call'