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

Passing invalid value to schedule a task result in invalid notification

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7.4, 2.8.2
    • 2.7, 2.7.3, 2.8.1
    • Administration
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE
    • MDL-44393-master
    • Hide
      1. Goto Site administration / ►Server / ►Scheduled tasks
      2. Click on edit for any task, try all the schedule field combinations mentioned in https://docs.moodle.org/28/en/Scheduled_tasks
      3. Look at the unit test in this patch and try some of those combination and make sure the results are as expected.
      4. Try any other combination as suggested by the "help" text of the fields, that you think I might have missed.
      5. Run unit tests and makes sure they pass.
      Show
      Goto Site administration / ►Server / ►Scheduled tasks Click on edit for any task, try all the schedule field combinations mentioned in https://docs.moodle.org/28/en/Scheduled_tasks Look at the unit test in this patch and try some of those combination and make sure the results are as expected. Try any other combination as suggested by the "help" text of the fields, that you think I might have missed. Run unit tests and makes sure they pass.
    • Team B Sprint 1

      Steps to reproduce:

      1. Go to "Site administration -> Server -> Scheduled tasks"
      2. Click on edit icon next to "Award badges"
      3. Enter "/2" in minutes and save
      4. you will see "/2" gives Notice: Undefined offset: -1 in /home/rajesht/moodles/im/moodle/lib/classes/task/scheduled_task.php on line 207

            ankit_frenz Ankit Agarwal
            rajeshtaneja Rajesh Taneja
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Votes:
            0 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.