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.
Problem/Motivation
- Create a drupal minimal install on an SQlite database.
- Enable Quiz and some Question modules.
- Create a Quiz
- Add a Question A. The question appears all right in the 'Questions in this quiz' fieldset, above 'Browse for questions to add'.
- Add a Question B. Question A moves to the 'Browse for questions to add' and only Question A appears in the 'Questions in this quiz' fieldset, above the browser.
- Adding further questions always makes former questions move to the browser.
This happens only with SQlite, MySQL works fine.
Comments
Comment #1
wadmiraal CreditAttribution: wadmiraal commentedHi.
Do you see any JS errors in your browser console ?
Comment #2
czigor CreditAttribution: czigor commentedOnly when adding the course an 'undefined' comes from opigno_og_access.js:11. Otherwise the console is empty.
Comment #3
czigor CreditAttribution: czigor commentedI'm using Chromium and SQlite on a ramdrive.
Comment #4
czigor CreditAttribution: czigor commentedThe problem here is that adding additional question moves formerly added questions to the Browser (i.e. the 'Browse for questions to add' fieldset) . This is true even for Quiz Lessons. However, the Browser is hidden in the case of Theory lessons (see opigno_simple_ui_form_quiz_questions_form_alter()). Therefore there's no way on the UI to move them back.
So there are two questions here:
1. Why do former questions move to the browser? I don't see any reason why they should.
2. But if that's the correct behaviour, shouldn't the Browser be visible in case of Theory lessons, too?
Comment #5
czigor CreditAttribution: czigor commentedThis is a Quiz + SQlite issue.