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

Add more debugging info to the adhoc task.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to a course > reports > Event monitoring rules>add a rule
      2. Create a rule for "Chapter viewed" event inside a course for "Book" plugin using frequency of 1/1
      3. Subscribe to this rule for "All modules" from My profile settings > Event monitoring
      4. Go to a book in the same course and a view a chapter a few times.
      5. Run cron
      6. make sure you get messages like these below:-

        Sending message to the user with id 2 for the subscription with id 1...
        Sent (You might see errors if you don't have your email server setup properly)

      7. Run unittests in tool_monitor and make sure they pass and no extra information is shown in the unit test output.
      Show
      Go to a course > reports > Event monitoring rules>add a rule Create a rule for "Chapter viewed" event inside a course for "Book" plugin using frequency of 1/1 Subscribe to this rule for "All modules" from My profile settings > Event monitoring Go to a book in the same course and a view a chapter a few times. Run cron make sure you get messages like these below:- Sending message to the user with id 2 for the subscription with id 1... Sent (You might see errors if you don't have your email server setup properly) Run unittests in tool_monitor and make sure they pass and no extra information is shown in the unit test output.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:
      MDL-47805-master

      Description

      Tool_monitor can display some more info while running the adhoc tasks.

        Attachments

          Activity

            People

            Assignee:
            ankit_frenz Ankit Agarwal
            Reporter:
            ankit_frenz Ankit Agarwal
            Peer reviewer:
            Simey Lameze
            Integrator:
            Damyon Wiese
            Tester:
            Michael de Raadt
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Nov/14