-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.8.5
-
None
-
MOODLE_28_STABLE
While testing MDL-37984, it was observed that assignment with attached images in description/additional files throw exception while exporting to portfolio.
Steps to reproduce:
- Create an assignment with image in description
- Attach few additional files
- As student submit assignment with file and inline text with images.
- As student export to portfolio and you will see following errors/warnings:
While exporting Assignment with files.Debug info:
Error code: invalidfileandsubmissionid
$a contents:
Stack trace:
line 7421 of /mod/assign/locallib.php: portfolio_caller_exception thrown
line 185 of /portfolio/add.php: call to assign_portfolio_caller->load_data()
While exporting submission.
Couldn't find a file from the embedded path info context 84 component mod_assign filearea submissions_onlinetext itemid 1 filepath / name /Moodle-icon.png
|
line 1269 of /lib/portfoliolib.php: call to debugging()
|
line ? of unknownfile: call to portfolio_rewrite_pluginfile_url_callback()
|
line 9152 of /lib/moodlelib.php: call to call_user_func_array()
|
line ? of unknownfile: call to partial->method()
|
line 1386 of /lib/portfoliolib.php: call to preg_replace_callback()
|
line 7463 of /mod/assign/locallib.php: call to portfolio_rewrite_pluginfile_urls()
|
line 459 of /lib/portfolio/exporter.php: call to assign_portfolio_caller->prepare_package()
|
line 227 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage_package()
|
line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
|
line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
|
line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
|
line 265 of /portfolio/add.php: call to portfolio_exporter->process_stage()
|