ucfopen / Materia

Engage students with easily embedded apps for online courses. Supercharge your course with compelling experiences and game mechanics.
https://ucfopen.github.io/Materia-Docs/
GNU Affero General Public License v3.0
37 stars 32 forks source link

submitting an LTI play without answering doesn't show score screen #421

Open zachberry opened 9 years ago

zachberry commented 9 years ago
  1. Using /lti/test/provider create or select a crossword game
  2. Play the crossword game as a student, but don't answer anything and click 'Submit Answers'
  3. Instead of the score screen you get an empty Materia page. An error is thrown: Uncaught TypeError: Cannot read property 'length' of null in student.min.js

If you play again and answer some questions, then other plays after that will work even if you re-do step 3 and play the game without answering anything and just clicking 'Submit Answers'.

jaxbot commented 9 years ago

This almost sounds like https://github.com/ucfcdl/Materia/issues/241

jaxbot commented 9 years ago

Not widget specific. Can reproduce with Labeling as well.

jaxbot commented 9 years ago

This is caused, at least for me, by widget_instance_scores_get returning 204.