Fill in the Blanks - Problem with version 1.11
Platform: Opigno 2.4 (Drupal 8).
Replication:
- Install Opigno 2.4.
- Create Fill in the Blanks as attached (it is created with version 1.10 and everything works).
- Update H5P Hub from 8.x-1.0-rc11 to 8.x-1.0-rc14
- Open Fill in the Banks and (not changing anything) try to save it.
- Error message: Something unexpected happened. We were unable to save this content.
On my second test platform configured identically, I first updated H5P Hub, then was creating this activity. I cannot recall what exactly I did. Anyway, there is also a problem with 1.11. On this platform I can create this activity, but when students work with it, they get the following error after clicking "Next" (going to the next activity).
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Core\Entity\EntityStorageException</em>: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column
'field_correct_response_value' at row 1: INSERT INTO {opigno_answer__field_correct_response} (entity_id, revision_id, bundle, delta, langcode, field_correct_response_value) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array
(
[:db_insert_placeholder_0] => 117
[:db_insert_placeholder_1] => 117
[:db_insert_placeholder_2] => opigno_h5p
[:db_insert_placeholder_3] => 0
[:db_insert_placeholder_4] => en
[:db_insert_placeholder_5] => {case_matters=true}голова[,]компьютер[,]объявление[,]щёлкнул[,]испортил[,]зарыдал[,]услышал[,]починил[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]нажал[,]испортил[,]зарыдал[,]услышал[,]починил[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]щёлкнул[,]испортил[,]заплакал[,]услышал[,]починил[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]нажал[,]испортил[,]заплакал[,]услышал[,]починил[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]щёлкнул[,]испортил[,]зарыдал[,]услышал[,]отремонтировал[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]нажал[,]испортил[,]зарыдал[,]услышал[,]отремонтировал[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]щёлкнул[,]испортил[,]заплакал[,]услышал[,]отремонтировал[,]сомнительные,{case_matters=true}голова[,]компьютер[,]объявление[,]нажал[,]испортил[,]заплакал[,]услышал[,]отремонтировал[,]сомнительные
)
in <em class="placeholder">Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()</em> (line <em class="placeholder">783</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php</em>).