Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: 3.8.3, 3.9
-
Fix Version/s: None
-
Component/s: Other
-
Labels:
-
Story Points:1
-
Sprint:Path to glory
Description
Identified on the prototype site, this comes down to the handling and validation of the course and section params in import.php. The fix should be small, but we should probably consider validating these properly (clean_param) - that seems to have been overlooked in my work on MDL-68698.
To replicate this one:
1. Take the new test client (see link in testing instructions) and start an import of the first item there - the cat.png without course and section
2. Notice that you'll see an SQL error, complaining about courseid being empty.