Bugs in content types

Report and discuss bugs related to specific H5P content types

Site freeze on checking answers(fill in the blank)

Good day,

The problem:

I made "Fill in the blanks" quiz for my site, 15 questions. After you finish - it freeze website and browser. Then after 10-15s. it does show the result and unfreeze. I bet it's that "star" result thing loading cause the freeze. I tried to make *fill in the blanks* with 1-5 questions(blanks) - it does work fast.

Following your rules, info below:

1. Detailed steps to reproduce the bug (exactly how and when did it happen)

Fill in the Blanks - Problem with multiple alternative answers

5okrates's picture

Tested under Opigno 2.5 (Drupal 8).

Affected: Fill in the blanks 1.11

Replication: Create exercise with 5-7 blanks, each with 3 alternative answers. When student is done with this exercise and clicks "next" his answers cannot be saved to the database due to "data too long for column".

From what I understand H5P tries to save to the database an array of sets of correct answers which grows 2x with each alternative answer. This behaviour is irrelevant whether you put all your blanks into one text block or into separate text blocks.

Pages