adamzammit / LTIPlugin

Limesurvey LTI Plugin - allows LimeSurvey to act as an LTI provider for LMS systems such as Canvas, Moodle and OpenEdx
GNU General Public License v3.0
10 stars 3 forks source link

Not grading in random cases with Open edX #3

Open angonz opened 2 years ago

angonz commented 2 years ago

Hi, We have LimeSurvey 5.3.29+220801 with the latest LTI Plugin, connecting to an Open edX Ironwood instance. We use the standard LTI consumer, graded component. In many random cases, students complete the form but the component fails to grade. In other cases it works well.

Is there any configuration tip? Other people reporting the same issue?

adamzammit commented 1 year ago

Hi @angonz ,

I haven't seen this issue before. Can you please confirm if the grade is stored in a LimeSurvey variable/hidden question as well as being sent to Open edX? If it isn't - can you please configure one to store it also and use that variable/hidden question as the value that gets sent - then we can confirm if the issue is with LimeSurvey or with the plugin.

Adam

angonz commented 1 year ago

Hi Adam! Thanks for your response. Actually we are only checking that the form has been submitted, to consider it approved. The form is stored in the LimeSurvey server, however the LTI component in Open edX doesn't even record the attempt.

adamzammit commented 1 year ago

Thanks again for this . The plugin currently just attempts the connection to the LMS once and doesn't record the outcome of that attempt. I'll add something that will record this so we can at least follow up with responses that haven't come through to the LMS.

adamzammit commented 1 year ago

Hi @angonz Please try upgrading to the latest 1.1.0 and adding a 7th attribute which will store the outcome. Hopefully this will help discover what is causing some to fail to pass a result. Adam

angonz commented 1 year ago

Hi @adamzammit, wish you a happy new year! Thanks for you response and action. Today I have upgraded the plugin and added the 7th attribute. Let's wait and see the results.

angonz commented 1 year ago

Hi @adamzammit! After testing some time, we've found some records have a "1" in attribute 7. Do you know what can this mean?

adamzammit commented 1 year ago

A "1" is most likely the result of the function call returning "true" which means that it should have worked successfully.