Hi,
We just started using Canvas to Webwork LTIAdvanced. Testing went fine with both student account management and grade passback. Now with the real course we started getting errors on grade passback:
Can't use string ("{"errors":[{"message":"Duplicate"...) as a HASH ref while "strict refs" in use at /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdva
nced/SubmitGrade.pm line 193.
* in WeBWorK::Authen::LTIAdvanced::SubmitGrade::local_escape_html called at line 339 of /opt/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced/SubmitGrade.pm\n * in WeBWorK::Authen::LTIAdvanced::SubmitGrade::submit_grade called at line 182 of /opt
/webwork/webwork2/lib/WeBWorK/Authen/LTIAdvanced/SubmitGrade.pm
* in WeBWorK::Authen::LTIAdvanced::SubmitGrade::submit_set_grade called at line 294 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/ProblemUtil/ProblemUtil.pm
* in WeBWorK::ContentGenerator::ProblemUtil:
:ProblemUtil::process_and_log_answer called at line 794 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm
* in WeBWorK::ContentGenerator::Problem::pre_header_initialize called at line 214 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
* in WeBWorK:
:ContentGenerator::go called at line 386 of /opt/webwork/webwork2/lib/WeBWorK.pm
Webwork software didn't change after testing with no problems. Using 2.15 on Ubuntu 18.04, plenty of system resources. LTI configuration is per course. Below are LTI related parameters from course.conf. Would anyone have a suggestion what to check?
include("conf/authen_LTI.conf");
$debug_lti_parameters = 0;
$LTIBasicConsumerSecret = "****";
$NonceLifeTime=180; # in seconds
$preferred_source_of_username = "lis_person_sourcedid";
$permissionLevels{change_email} = "professor";
$LTIGradeMode = "homework";
$LTIAccountCreationCutoff = "professor";
$authen{user_module} = [
{ "*" => "WeBWorK::Authen::LTIAdvanced", }, #preferred authorization method
{ "*" => "WeBWorK::Authen::Basic_TheLastOption",} #fallback authorization method
];