LTI Question Type (External Tool)

Maintained by ETH Zurich
External Question Type (based on LTI)
Price option: Free

Supports Moodle 3.5-5.2 See all versions
Latest release: 1 week ago
Installations: 84
Downloads (last 90 days): 86

Frankenstyle name: qtype_lti
Question types

Comments

Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.

Hi Fernando,
This note informs that the parameter $extracodeexpertparams required in this old version of the plugin is deprecated and might cause problems. As this version of the plugin was meant for Moodle versions that no longer receive general nor security support, we recommend to update to the newest version of the plugin. By doing so you will also get rid of the note.
Best regards,
Antonia
Thanks for this plugin. Any chance of getting this fixed in version 2022082300:
Deprecated: Required parameter $extracodeexpertparams follows optional parameter $typeid in /home/www/public/question/type/lti/locallib.php on line 360
Hi there,
does this plugin work with LTI 1.3? As far as I see, it is limited to LTI 1.0/1.1
Gergely Rakoczi
Hi, the latest version is working and solved the problem smile
thanks
Hi, could you please report the issue here: https://github.com/ethz-let/moodle-qtype_lti/issues
Hello we're having problems with the plugin in Moodle 4.0.3+ (Build: 20220826). when we try to insert a new question it runs into an error: Exception - Call to a member function instance_form_definition_after_data() on null
Have you tried the plugin in the new version of Moodle?
For future reference, we were able to solve the issue we were having by installing plugin release = '0.4 for Moodle 3.5+' / version = 2021080302 (as instructed by the development team)
Hi, I just reported an issue named "Error running plugin qtype_lti on Moodle v3.11.2+ (Build: 20210812)" on GitHub.
Has anyone seen a similar behaviour?
NOTE: On Github, the latest release (May 25) is identifyed as 0.3. However, file version.php states it is version 04 ($plugin->release = '0.4 for Moodle 3.5+';)
Hi João, its tested on 3.11 and we also have added more features. You can download the latest from github, or you can wait until October once we package the final version for the community here.
Has this been tested in Moodle 3.11?
I reported a bug named "Selecting a preconfigured tool does not save the secure tool URL" (in the Bug Tracker).
Could anyone try to reproduce and/or comment?
Thanks for the answer!
LTI provider (LTI v1.1) uses to send a score to a moodle POST request to lis_outcome_service_url with parameters from the LTI-launch request (lis_outcome_service_url, lis_result_sourcedid, oauth_consumer_key), and sent score is displayed in gradebook (for standart External tool).
However, when working with the plugin, we catch this error (to data in database). Where should the required scores be located so that the plugin handles everything correctly when I click "Check"? (Since the plugin does not make requests to LTI provider)
It seems your LTI provider returns an invalid grade (NAN in your case). The result needs to be from 0 up until 1. (Fractions allowed)
After I click the "check" button, I get the following error: https://drive.google.com/file/d/1_sjdkxowsz79-iiR57gfzqlvfSGxMbPf/view?usp=sharing
If required, I can also send the task settings.
Text of message:
An error occurred while processing your responses (Error writing to database (Unknown column 'NAN' in 'field list' INSERT INTO mdl_question_attempt_steps (questionattemptid,sequencenumber,state,fraction,timecreated,userid) VALUES(?,?,?,?,?,?) [array ( 0 => '62795', 1 => 1, 2 => 'gradedwrong', 3 => NAN, 4 => 1607436079, 5 => '2', )])). Click continue to return to the page you were on and try again.
Debug info: Unknown column 'NAN' in 'field list'
INSERT INTO mdl_question_attempt_steps (questionattemptid,sequencenumber,state,fraction,timecreated,userid) VALUES(?,?,?,?,?,?)
[array (
0 => '62795',
1 => 1,
2 => 'gradedwrong',
3 => NAN,
4 => 1607436079,
5 => '2',
)]
Error code: errorprocessingresponses
Stack trace:
line 2410 of /mod/quiz/attemptlib.php: moodle_exception thrown
line 89 of /mod/quiz/processattempt.php: call to quiz_attempt->process_attempt()
Output buffer:
Notice: Undefined property: qtype_lti_question::$order in /var/www/html/question/type/lti/question.php on line 36
Warning: Invalid argument supplied for foreach() in /var/www/html/question/type/lti/question.php on line 36
Notice: Undefined property: qtype_lti_question::$order in /var/www/html/question/type/lti/question.php on line 52
Warning: Division by zero in /var/www/html/question/type/lti/question.php on line 52
Thank you!
Hi, what errors you are encountering?