Issue Details (XML | Word | Printable)

Key: MDL-16094
Type: Sub-task Sub-task
Status: Open Open
Priority: Major Major
Assignee: Tim Hunt
Reporter: Petr Skoda
Votes: 1
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14589

File storage conversion Quiz and Questions

Created: 18/Aug/08 05:31 AM   Updated: 30/Mar/09 04:23 PM
Return to search
Component/s: Questions, Quiz
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Dependency
 

Participants: Petr Skoda and Tim Hunt
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt added a comment - 09/Dec/08 10:26 PM
File areas need to include:

1. Images, etc, embedded in question text (including answers and feedback).
2. Images, etc, embedded in the student's response to essay questions, or other similar types.
3. Images, etc, embedded in the teacher's comment on a student's question attempt.
4. Images in the quiz intro and overall feedback.

2. and 3. may be best combined. We need to consider each attempt builds on last here. Another decision:
A. should the file area belong to the question_session, or
B. should the quiz (or whatever activity) be responsible for creating a file_area for the quiz_attempt, and passing it in to the questionlib.php functions that need it. I feel that the second possibility would make it easier to do the right access checks, but then we would need a solution for question preview.

Each attempt builds on last - we could always create the file area for the second attempt by copying the one for the first attempt.

See also MDL-15573 (temp files built during question export).


Tim Hunt added a comment - 10/Dec/08 12:58 AM
When doing 1. We should also get rid of the separate image dropdown on the question editing forms, and the question.image field. Any questions that currently have an image should have the image added to the end of the question text.

Tim Hunt added a comment - 30/Mar/09 04:23 PM