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

Digest emails of Forum do not work when upgrade to 2.3.3 and 2.3.4 from 2.3.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.3.5, 2.4.2
    • 2.3.3, 2.3.4, 2.4.1
    • Forum
    • CentOS 6.3
    • MySQL
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • wip-mdl-37633
    • Hide

      Test1:

      1. Install site and enrol users to some courses.
      2. Go to define roles page (Site administration ► Users ► Permissions ► Define roles)
      3. Edit Authenticated user on frontpage and make sure user has "mod/forum:allowforcesubscribe" capability

      Test2:

      1. Edit front page settings (Site administration -> Front page -> front page settings)
      2. Set "News items" for frontpage and frontpageloggedin
      3. Set defaultfrontpageroleid to "Authenticated user on frontpage"
      4. Go to front page and add a new topic in site news (check 'Mail now')
      5. Turn editing on and Edit this topic
      6. click "Subscription mode and click "Force subscription"
      7. Change digestmailtime appropriately, so cron can be run after this. (Site administration ► Plugins ► Activity modules ► Forum)
      8. Log in as a student and edit profile.
      9. Set Email digest type to Complete
      10. After digestmailtime elapse run admin/cron.php
      11. Make sure digest is posted to users, with "Email digest type" to Complete/subject.
      Show
      Test1: Install site and enrol users to some courses. Go to define roles page (Site administration ► Users ► Permissions ► Define roles) Edit Authenticated user on frontpage and make sure user has "mod/forum:allowforcesubscribe" capability Test2: Edit front page settings (Site administration -> Front page -> front page settings) Set "News items" for frontpage and frontpageloggedin Set defaultfrontpageroleid to "Authenticated user on frontpage" Go to front page and add a new topic in site news (check 'Mail now') Turn editing on and Edit this topic click "Subscription mode and click "Force subscription" Change digestmailtime appropriately, so cron can be run after this. (Site administration ► Plugins ► Activity modules ► Forum) Log in as a student and edit profile. Set Email digest type to Complete After digestmailtime elapse run admin/cron.php Make sure digest is posted to users, with "Email digest type" to Complete/subject.

      Digest emails works on news forum in frontpage when I use 2.3.2.

      I upgrade it to 2.3.3,2.3.4 and 2.4.1, emails were not sent when I posted a new topic on the news forum in frontpage.
      (even executed /admin/cli/cron.php)

      But, digest emails in courses works also 2.3.3 and 2.3.4.

      Here is the steps of repoduce the problem.

      1.Install 2.3.3 and enroll users.

      2.upgrade to 2.3.4

      3.post a new topic to the news forum in frontpage.(check 'Mail now')
      (Subscription mode is forced, which the site administrator changed)

      4.execute admin/cron.php

      expected result:send a digest email to all users.

      currently resulet:NOT send mails.

      Here is the cron's log. '0 users' seems wrong.

      Processing module function assign_cron ...done.
      ... used 6 dbqueries
      ... used 0.037925958633423 seconds
      done.
      Processing module function chat_cron ...... used 5 dbqueries
      ... used 0.0039098262786865 seconds
      done.
      Processing module function forum_cron ...0 users were sent post 9, 'test'
      Starting digest processing...
      Cleaned old digest records
      ... used 14 dbqueries
      ... used 0.0086209774017334 seconds
      done.

            rajeshtaneja Rajesh Taneja
            junnakamura Jun Nakamura
            Frédéric Massart Frédéric Massart
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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