Details
-
Type:
Sub-task
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 1.9.4
-
Component/s: Tool: WebCTImport
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
When importing question images, the script doesn't check if the destination directory for the image file exists. If the directory doesn't already exist, the copy() statement of the function fails silently and the affected images are not imported.
This patch checks if the image file is inside a subdirectory and creates it.
Moving to the Tool: WebCTImport Component and assigning to Ashley