Add-ons
  1. Add-ons
  2. CONTRIB-3362

Adobeconnect default start/end times not being correctly calculated

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.16
    • Fix Version/s: 1.9.16, 2.0.2
    • Component/s: Module: Adobeconnect
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      37914

      Description

      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

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development