Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3363

Orphan records created in Moodle when Adobe Connect meeting cannot be created

XMLWordPrintable

    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

      Description of the issue
      ---------------------------------------------------------------------------------
      If a meeting fails to create on the Adobe Connect server, it won't let you recreate it with the same name. It says that a meeting with the same name already exists, when in fact it is just an orphan record on Moodle's side.

      Steps to reproduce
      ---------------------------------------------------------------------------------
      Try and create a meeting with foreign characters (such as Malmö). It will appear to have worked, but when you click on the meeting name on the course page it tells you that no meeting could be found on the server. If you try to recreate a meeting with the same name, it won't let you.

      Expected Behaviour
      ---------------------------------------------------------------------------------
      If a meeting fails to create, it should tell you. It should gracefully roll back (deleting any references to that activity's meeting(s) in Moodle's database so that there are no orphaned entries)

      Resolution
      ---------------------------------------------------------------------------------
      If aconnect_create_meeting() fails (returns false) it should remove any references to the activity's meeting(s) on Moodle, and delete any meetings from the server (If, for example, the activity is created in group mode, the site has 5 groups, and one of the group names has a character that causes it to fail. Moodle could create some of the activities before failing, so it's important to delete that subset)

      Patch and github repo
      ---------------------------------------------------------------------------------
      Links to be provided in comments section once I get a tracker number for this issue

        1. CONTRIB-3363_19_STABLE-after-patch.png
          114 kB
          Jennifer Edmondson
        2. CONTRIB-3363_19_STABLE-before-patch.png
          115 kB
          Jennifer Edmondson
        3. CONTRIB-3363-avoid-orphan-records_19_STABLE.patch
          4 kB
          Jennifer Edmondson
        4. CONTRIB-3363-avoid-orphan-records_19_STABLE-v2.patch
          3 kB
          Jennifer Edmondson
        5. CONTRIB-3363-avoid-orphan-records_20_STABLE.patch
          3 kB
          Jennifer Edmondson

            adelamarre Akin (Inactive)
            jedmondson Jennifer Edmondson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.