canvas-lms/lib/lti
Weston Dransfield 25243983e8 Fix $Canvas.module.id and $Canvas.moduleItem.id not coming through on LTI launches from assignments
Fixes PLAT-1116

Test Plan
 - Add a tool to a course that has the 'Assignment Selection' placement enabled
 - Edit the tool and in the 'custom fields' area add 'module_id=$Canvas.module.id' and 'module_item_id=$Canvas.moduleItem.id'
 - Create a new assignment with 'Submission Type' set to 'External Tool' and select the tool you just installed.
 - Go to the course modules page and add the new assignment to a module.
 - note the id of the module and the moduleItem (The module item id is passed as a get param when you click on the link).
 - Make sure the custom fields (module_id and module_item_id) have the expected values

Change-Id: Ibc6c6342cf3493b8c81382f460c1af3a365130c0
Reviewed-on: https://gerrit.instructure.com/57235
Tested-by: Jenkins
Reviewed-by: Nathan Mills <nathanm@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Weston Dransfield <wdransfield@instructure.com>
2015-07-16 19:37:50 +00:00
..
api_service_helper.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
app_collator.rb Add LTI configuration placement (course and account) 2015-01-29 17:52:13 +00:00
app_launch_collator.rb Add support for localized LTI tool labels 2015-06-26 14:00:20 +00:00
app_util.rb allow the app display type to be overridden 2015-06-11 20:29:26 +00:00
asset.rb move opaque identifier to it's own class 2014-08-11 15:40:06 +00:00
content_item_converter.rb rails4: fix lti specs missing ims/lti dependency 2015-07-13 15:22:30 +00:00
content_item_response.rb update ContentItemSelectionResponse to new name and format 2015-04-01 20:22:22 +00:00
external_tool_name_bookmarker.rb fix pagination for tools with the same name 2015-01-13 15:09:08 +00:00
message_handler_name_bookmarker.rb fix pagination for tools with the same name 2015-01-13 15:09:08 +00:00
substitutions_helper.rb add lti variable subs for section ids 2014-12-10 17:34:04 +00:00
tool_proxy_name_bookmarker.rb fix pagination for tools with the same name 2015-01-13 15:09:08 +00:00
variable_expander.rb Fix $Canvas.module.id and $Canvas.moduleItem.id not coming through on LTI launches from assignments 2015-07-16 19:37:50 +00:00
variable_expansion.rb refactor variable substitutions 2015-01-19 21:02:39 +00:00