Moodle plugins directory: LTI Question Type (External Tool)
LTI Question Type (External Tool)
Question types ::: qtype_lti
Maintained by
ETH Zürich
External Question Type (based on LTI)
Latest release:
61 sites
393 downloads
6 fans
Current versions available: 3
External Question Type (based on LTI) is a question type that can connect to external systems (LTI-enabled providers). Originally built to integrate (in simplistic LTI manner) with CodeExpert (A web-based IDE to teach programming in the classroom).
Useful links
Contributors
ETH Zürich (Lead maintainer)
Antonia Bonaccorso: Service owner, contact
Please login to view contributors details and/or to contact them
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!
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)
Could anyone try to reproduce and/or comment?
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+';)
Have you tried the plugin in the new version of Moodle?
thanks
does this plugin work with LTI 1.3? As far as I see, it is limited to LTI 1.0/1.1
Gergely Rakoczi