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

Notice when saving an activity with activated completion conditions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.9.10
    • Activity completion
    • None
    • MOODLE_39_STABLE

      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

            timhunt Tim Hunt
            mmoebius Martin Möbius
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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