← Back to team overview

mahara-contributors team mailing list archive

[Bug 1697909] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7895
Committed: https://git.mahara.org/mahara/mahara/commit/b6c70e6a415a5d990eea69cf11cee7bf27d27c53
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    17.04_STABLE

commit b6c70e6a415a5d990eea69cf11cee7bf27d27c53
Author: Cecilia Vela Gurovic <ceciliavg@xxxxxxxxxxxxxxx>
Date:   Wed Jul 12 16:13:53 2017 +1200

Bug 1697909: 'custom_' unknown param not an exception in WS

If an LTI parameter is unknown and prefixed with 'custom_',
drop it from the data passed to the handler function.
Then if the site is in non-production mode,
also show this information.

behatnotneeded

Change-Id: I3fac19c27df2b9f072b8cdbcb8a2458c506c018e
(cherry picked from commit e120d8fd2a6c20b8ae510d1e16deb113dbd6f85d)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1697909

Title:
  LTI (Canvas) gives exception: WebserviceInvalidParameterException

Status in Mahara:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed

Bug description:
  Having set up LTI in Mahara and provided Canvas with the Key/Secret
  and Launch URL:

  http://mahara-dev.stir.ac.uk/webservice/rest/server.php

  and custom parameter:

  wsfunction=module_lti_launch

  Clicking on the Mahara link gets:

  <EXCEPTION
  class="WebserviceInvalidParameterException"><ERRORCODE>invalidparameter</ERRORCODE><MESSAGE>Invalid
  parameter value detected; execution cannot continue.  : Unexpected
  keys
  (custom_canvas_course_uuid,custom_canvas_user_uuid,lis_course_offering_sourcedid,)
  detected in parameter array.</MESSAGE></EXCEPTION>

  similiar comes from Blackboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1697909/+subscriptions


References