-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.2 regressions, 4.3 regressions, 4.4 regressions, 4.5
When having enabled the `backup_async_message_users` admin setting, you can't complete section backups. This affects the new version of the block_sharing_cart plugin.
The `\async_helper::get_resource_link()` method doesn't support
`\backup::TYPE_1SECTION` and tries to find a course context by a sectionid.
I recommend changing the current ifelse into a switch statement with the 3 cases (activity, course and section) and a default case throwing an unknown backup type exception.
- has been marked as being related by
-
MDL-85694 PR only: MDL-82750 - Backing up a section with the backup_async_message_users admin setting enabled causes exception
-
- Closed
-