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

The portfolio cronjob does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.4.7, 2.5.3
    • Component/s: Portfolio
    • Labels:
    • Testing Instructions:
      Hide
      1. Set portfolio_moderate_filesize_threshold and portfolio_high_filesize_threshold to very low limits
      2. Upload a forum posts with a picture larger than the limit you've set above
      3. Export the forum post to box.net, and choose not to wait
      4. Make sure the export has been delayed to a cronjob
      5. Run the cron
      6. Make sure the export has been executed

      PS: Box.net might be a bit broken, I suggest we consider this as another issue

      Show
      Set portfolio_moderate_filesize_threshold and portfolio_high_filesize_threshold to very low limits Upload a forum posts with a picture larger than the limit you've set above Export the forum post to box.net, and choose not to wait Make sure the export has been delayed to a cronjob Run the cron Make sure the export has been executed PS: Box.net might be a bit broken, I suggest we consider this as another issue
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-42542-master

      Description

      The event handler is referencing the wrong file which leads to that cron notice:

      ++ Handler file of component moodle: /lib/portfolio.php can not be found! ++
      * line 366 of /lib/eventslib.php: call to debugging()
      * line 450 of /lib/eventslib.php: call to events_process_queued_handler()
      * line 340 of /lib/cronlib.php: call to events_cron()
      * line 81 of /admin/cron.php: call to cron_run()
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fred Frédéric Massart
                Reporter:
                fred Frédéric Massart
                Peer reviewer:
                Petr Skoda
                Integrator:
                Sam Hemelryk
                Tester:
                Sam Hemelryk
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/13