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

Could not upload image file from OneDrive

XMLWordPrintable

    • MOODLE_405_STABLE
    • 2
    • Team Hedgehog 2024 Sprint 3.2

      Error message 

      [Tue Sep 17 05:41:54.189879 2024] [php:notice] [pid 64019] [client ::1:36998] Debugging: Redaction failed: failed to process file with PHP gd! in \n* line 47 of /lib/classes/fileredact/hook_listener.php: call to debugging()\n* line ? of unknownfile: call to core\\fileredact\\hook_listener::redact_after_file_created()\n* line 318 of /lib/classes/hook/manager.php: call to call_user_func()\n* line 1087 of /lib/filestorage/file_storage.php: call to core\\hook\\manager->dispatch()\n* line 1377 of /lib/filestorage/file_storage.php: call to file_storage->create_file()\n* line 1384 of /repository/lib.php: call to file_storage->create_file_from_pathname()\n* line 317 of /repository/repository_ajax.php: call to repository::move_to_filepool()\n, referer: http://localhost/integration_master/mod/forum/view.php?id=2681

      How to replicate

      1. This test requires the Microsoft OneDrive repository to be enabled, including entering a client ID and secret to configure the OAuth 2 Microsoft service, as described in the documentation OneDrive repository and OAuth 2 Microsoft service.
      2. Make sure that your OneDrive account has an image with JPG/JPEG format
      3. Log in to a course as a teacher and create a standard forum.
      4. Add a new discussion topic.
      5. Click the image icon in the text editor;
      6. Click the Browse repositories button
      7. Select MS OneDrive and log in.
      8. Select the image and add it.

      Expected

      The image is successfully uploaded without any errors. 

      Actual

      The image failed to upload.

            meirza.arson@moodle.com Meirza
            meirza.arson@moodle.com Meirza
            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.