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

Refactor portfolio queue system to prevent usage of events_trigger()

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • w07_MDL-42541_m27_portevent
    • Hide

      1/ Set up the portfolio Flickr
      2/ Set portfolio_moderate_filesize_threshold and portfolio_high_filesize_threshold to 10kb
      3/ Create a forum post with an image (more than 10kb)
      4/ Export the image to Flickr portfolio and choose Don't wait on the export page
      7/ execute cron and verify there are no errors coming from cron
      8/ verify the file got exported

      9/ repeat for portfolio that does not queue - such as the simple download and make sure it still works

      Show
      1/ Set up the portfolio Flickr 2/ Set portfolio_moderate_filesize_threshold and portfolio_high_filesize_threshold to 10kb 3/ Create a forum post with an image (more than 10kb) 4/ Export the image to Flickr portfolio and choose Don't wait on the export page 7/ execute cron and verify there are no errors coming from cron 8/ verify the file got exported 9/ repeat for portfolio that does not queue - such as the simple download and make sure it still works
    • 20
    • BACKEND Sprint 10

      The portfolio queue system is using the old events_trigger in order to register a cron job. We have to refactor the code to get rid of the usage of events_trigger().

            skodak Petr Skoda
            fred Frédéric Massart
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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