Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are three places in the code where we currently have duplicated array indexes.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2844872_remove_duplicated_index_in_quizaccesstestcase.patch | 540 bytes | Da_Cloud |
| |||
#3 | 2844872_remove_duplicated_index_in_quiz_module.patch | 423 bytes | Da_Cloud |
| |||
#2 | 2844872_remove_duplicated_index_in_quiz_install.patch | 446 bytes | Da_Cloud |
|
Comments
Comment #2
Da_Cloud CreditAttribution: Da_Cloud at INDICIA commentedquiz.install => quiz_schema()
As per default the last key will be used and this description is also in line with the rest of quiz_schema().
Comment #3
Da_Cloud CreditAttribution: Da_Cloud at INDICIA commentedquiz.module => quiz_entity_info()
Here we have a double 'entity class' => 'Entity', declaration.
Comment #4
Da_Cloud CreditAttribution: Da_Cloud at INDICIA commentedtests/QuizAccessTestCase.test => testQuizTakerAnswerScore() {
Here we have a double correct_answer declaration with 2 different answers. As per PHP default the last declaration will be used so the patch will remove the first.
Comment #5
Da_Cloud CreditAttribution: Da_Cloud at INDICIA commentedComment #6
djdevinComment #8
djdevinThanks! Committed #2 #3 #4