-
Bug
-
Resolution: Fixed
-
Minor
-
4.3.4, 4.4, 4.5
Steps to reproduce
- Login as admin.
- Go to Site administration > Course > Groups > Group custom fields.
- Add a category and create a custom field (I created an optional checkbox).
- Create a course.
- Add a group.
- Create an activity (for instance, an assignment).
- Duplicate the activity.
Expected behaviour
The activity is duplicated.
Current behaviour
The following error is displayed:
Exception - core_group\customfield\group_handler::get_instance_context(): Argument #1 ($instanceid) must be of type int, null given, called in [dirroot]/group/classes/customfield/group_handler.php on line 170 |
Reported by marycooch