-
Bug
-
Resolution: Fixed
-
Minor
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
In either mod_assignment or mod_assign, if you attach multiple files to a submission and then use the Export to portfolio link to export all files from the submission, you are given an error page:
error/Cantpostupload
Debug info:
Error code: Cantpostupload
$a contents:
Stack trace:
line 982 of /lib/portfoliolib.php: portfolio_export_exception thrown
line 247 of /lib/portfolio/exporter.php: call to portfolio_export_rethrow_exception()
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 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
line 268 of /portfolio/add.php: call to portfolio_exporter->process_stage()
Output buffer: <div class="notifytiny">A third party exception was thrown during portfolio export (moodle_exception). Caught and rethrown but this should really be fixed<ul style="text-align: left"><li>line 245 of /lib/portfolio/exporter.php: call to debugging()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 268 of /portfolio/add.php: call to portfolio_exporter->process_stage()</li></ul></div><div class="notifytiny">exception 'moodle_exception' with message 'error/Cantpostupload' in /git/working/moodle23/lib/googleapi.php:140 Stack trace: #0 /git/working/moodle23/portfolio/googledocs/lib.php(58): google_docs->send_file(Object(stored_file)) #1 /git/working/moodle23/lib/portfolio/exporter.php(502): portfolio_plugin_googledocs->send_package() #2 /git/working/moodle23/lib/portfolio/exporter.php(227): portfolio_exporter->process_stage_send() #3 /git/working/moodle23/lib/portfolio/exporter.php(233): portfolio_exporter->process_stage(5) #4 /git/working/moodle23/lib/portfolio/exporter.php(233): portfolio_exporter->process_stage(4) #5 /git/working/moodle23/lib/portfolio/exporter.php(233): portfolio_exporter->process_stage(3) #6 /git/working/moodle23/lib/portfolio/exporter.php(233): portfolio_exporter->process_stage(2) #7 /git/working/moodle23/portfolio/add.php(268): portfolio_exporter->process_stage(1, false) #8
{main}<ul style="text-align: left"><li>line 246 of /lib/portfolio/exporter.php: call to debugging()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()</li><li>line 268 of /portfolio/add.php: call to portfolio_exporter->process_stage()</li></ul></div>
- blocks
-
MDLQA-1970 CLONE - A student can export assignment submissions to their portfolio
- Passed
- Testing discovered
-
MDL-33547 In 2.3 Assignments clicking the "Export to portfolio" link generates an exception
-
- Closed
-