Affects Version/s: 2.4.1, 2.5
Fix Version/s: 2.4.2
- Install custom assignment submission plugin (one is attached - unzip to mod/assign/submission/).
- Run unit tests
- Verify there are no failures
Needs testing on 24 and master as they are different patches.ShowInstall custom assignment submission plugin (one is attached - unzip to mod/assign/submission/). Run unit tests Verify there are no failures Needs testing on 24 and master as they are different patches.
Affected Branches:MOODLE_24_STABLE, MOODLE_25_STABLE
Pull from Repository:
Pull Master Branch:
If one or more custom (ie. not bundled with the assignment module) feedback or submission plugins are activated while running through the unit tests multiple errors like the one below will emerge.
Undefined property: stdClass::$assignsubmission_pdf_enabled
This is caused by the assignment generator which is responsible for creating assignments for testing purposes. The assignment generator does only set the $assignsubmission_PLUGINNAME_enabled/$assignfeedback_PLUGINNAME_enabled for the standard set of submission/feedback-plugins which causes undefined properaty-errors for other plugins.
1. Install a custom submission or feedback plugin for the assign module.
2. Run throgh the unit tests.