-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.6.6, 3.7
-
None
-
3.5.0 (2018051100)
-
MOODLE_36_STABLE, MOODLE_37_STABLE
Hi Hennig,
while testing your plugin for the latest Moodle release we've encountered the problem that the "Export to portfolio" link throws a file not found error.
Steps to reproduce
Prerequisites:
- Enrol a teacher into a course
- Enable portfolios in the instance: enableportfolios set to yes
- Manage portfolios (admin/portfolio.php): Set "File download" to Enabled and visible
- Login as the teacher
- Go to the course
- Turn editing mode on
- Add an assignment
- Enable "Solution Sheet" and upload a document
- Save and display
- See that there's a plus icon with the hover text "Export to portfolio" behind the solution sheet file
- Click that button
- Get the error "Sorry, the requested file could not be found More information about this error"
(With debugging on you'll that these further information:
Debug info:
|
Error code: filenotfound
|
|
Stack trace:
|
line 9394 of /mod/assign/locallib.php: portfolio_caller_exception thrown
|
line 185 of /portfolio/add.php: call to assign_portfolio_caller->load_data()
|
)
We've seen that this bug occurs in Moodle 3.6+, too.
Best, Kathrin
- will be (partly) resolved by
-
MDL-48727 Assignment shouldn't offer to export someone elses files to portfolio
- Closed