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

Cannot delete module instance BigBlueButton

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.16, 3.5.4, 3.6.2
    • None
    • 2.2.10 (2017101018)
    • MOODLE_31_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

    Description

      The best way to see the problem is when "course recycle bin" is disabled. If enabled, the problem is delayed until the lifetime expires and then it will produce problems with cron running (records marked with "deletioninprogress = 1" in mdl_course_modules, records not being completed in "mdl_task_adhoc", etc.).

      Problem:

      1. Create new instance of BigBlueButton activity in any course.
      2. First try to delete this BigBlueButton activity shows "error/cannotdeletemoduleinstance" as first annexed image. This BBB activity remains visible in the course.
      3. Second try to delete the same BigBlueButton activity shows another error: "Can not find data record in database", but activity remains visible (it doesn't work, of course).
      4. Third try ... same error.
      5. Eventually, after some cron executions, the BBB activity is not more shown in the course.

      Note: I have tested the same problem with multiple environments.

      • Linux server with Apache2 + PHP 7.0 and PHP 7.2. (Moodle 3.1.16 and 3.5.4)
      • Windows 10 PC with XAMPP 7.2.4. (Moodle 3.5.1)
      • Moodlecloud free site (Moodle 3.6.2).

      Attachments

        1. Deleting BBB activity - First try.PNG
          19 kB
          Jose Luis Martin Jimenez
        2. Deleting BBB activity - Second try.PNG
          17 kB
          Jose Luis Martin Jimenez

        Issue Links

          Activity

            People

              jfederico Jesus Federico
              jlmartin Jose Luis Martin Jimenez
              Jesus Federico
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: