-
Bug
-
Resolution: Fixed
-
Minor
-
1.9.16
-
None
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE, MOODLE_20_STABLE
Description of the issue
---------------------------------------------------------------------------------
The default end time for an adobe connect activity could default to a time before the start time, which means that it will throw a validation error if you try to add the activity with the default values supplied.
Steps to reproduce
---------------------------------------------------------------------------------
1. Go to: Site Administration > Location > Location Settings and set "Default timezone" to something other than "Server's local time" (e.g. UTC+3)
2. Add an Adobe Connect activity to a course site, and see that the default end time is not two hours after the start time, as expected (e.g. it is 1 hour before)
Expected Behaviour
---------------------------------------------------------------------------------
Default end time should be default start time + 2 hours
Resolution
---------------------------------------------------------------------------------
Patch attached
Patch and github repo
---------------------------------------------------------------------------------
Links to be provided in comments section once I get a tracker number for this issue