Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72654

Notice when saving an activity with activated completion conditions

    XMLWordPrintable

Details

    • MOODLE_39_STABLE

    Description

      When I save a test with activated activity completion and own existing activity completion state, I get the following notice:

      Notice: Trying to access array offset on value of type null in /var/www/html_new/lib/formslib.php on line 2162
      Notice: Trying to access array offset on value of type null in /var/www/html_new/lib/formslib.php on line 2162
      Notice: Trying to access array offset on value of type null in /var/www/html_new/lib/formslib.php on line 2162

      This occours also by other activities with activated activity completion rules.

      1. Reprodication (as admin user):
      2. Create test course (completion tracking must be activated)
      3. Create test activitie (with activity completion)
      4. Enrol user (the current loggedin user)
      5. Editing the test activity
      6. Save test activity

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              mmoebius Martin Möbius
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: