Development:File storage conversion Quiz and Questions
From MoodleDocs
This page are some notes about what has to be done for MDL-16094.
I have chosen to write this document with reference to database columns, with secondary mention of the
The quiz
Development:Quiz database structure
- We need a file area for quiz.intro.
- We need a file area for quiz_feedback.feedbacktext. (The overall feedback on the quiz settings form.) If it is possible to do easily, we should replace the overall feedback boxes with HTML editors (the boxes currently accept HTML input into text fields, which is functionally complete, but sucky).
- We need to add a feedbacktextformat column, if it has not already been done.
- Ideally, access to overall feedback files should be controlled by the same logic as whether the feedback itself is displayed. However, I think it would be acceptable to release Moodle 2.0 without this. Just leave an open tracker issue assigned to me, and I can implement that check later.
No other quiz_... tables have files associated with any columns.
Questions
Development:Question database structure
There are no fields in the 'question engine' tables that have files.
All the issues are in the 'question bank' part, which means the core question bank, and the all the question type plugins.
Core question bank
- I think that question_categories.info (which is HTML) should not have files. However, we need a question_categories.infoformat field.