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

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



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


      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)

      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

          Issue Links



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


                • Created:
                  Fix Release Date: