Reviewed:  https://reviews.mahara.org/7872
Committed: 
https://git.mahara.org/mahara/mahara/commit/e120d8fd2a6c20b8ae510d1e16deb113dbd6f85d
Submitter: Robert Lyon ([email protected])
Branch:    master

commit e120d8fd2a6c20b8ae510d1e16deb113dbd6f85d
Author: Cecilia Vela Gurovic <[email protected]>
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

-- 
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:
  In Progress
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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to