Skip to content

Fix(Core): fix file upload#517

Merged
stonebuzz merged 4 commits intomainfrom
fix_file_upload
Oct 2, 2025
Merged

Fix(Core): fix file upload#517
stonebuzz merged 4 commits intomainfrom
fix_file_upload

Conversation

@stonebuzz
Copy link
Copy Markdown
Contributor

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

Fix #516

Fix file upload process

Fix this error

[2025-10-02 07:21:23] glpi.CRITICAL:   *** Uncaught PHP Exception Glpi\Exception\Http\HttpException: "Class PluginDatainjectionBackendcsv is not a valid class" at backend.class.php line 84
  Backtrace :
  ./plugins/datainjection/inc/backend.class.php:84   
  ./plugins/datainjection/inc/model.class.php:990    PluginDatainjectionBackend::getInstance()
  ./plugins/datainjection/inc/model.class.php:1047   PluginDatainjectionModel->readUploadedFile()
  ./plugins/datainjection/front/model.form.php:76    PluginDatainjectionModel->processUploadedFile()
  ...Glpi/Controller/LegacyFileLoadController.php:64 require()
  ./vendor/symfony/http-kernel/HttpKernel.php:181    Glpi\Controller\LegacyFileLoadController->__invoke()
  ./vendor/symfony/http-kernel/HttpKernel.php:76     Symfony\Component\HttpKernel\HttpKernel->handleRaw()
  ./vendor/symfony/http-kernel/Kernel.php:197        Symfony\Component\HttpKernel\HttpKernel->handle()
  ./public/index.php:70              

Screenshots (if appropriate):

@stonebuzz stonebuzz requested review from Lainow and Rom1-B October 2, 2025 07:29
@stonebuzz stonebuzz self-assigned this Oct 2, 2025
@stonebuzz stonebuzz added the bug label Oct 2, 2025
@stonebuzz stonebuzz merged commit 33090aa into main Oct 2, 2025
3 checks passed
@stonebuzz stonebuzz deleted the fix_file_upload branch October 2, 2025 13:15
This was referenced Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GLPI11 - Error loading file to inject

2 participants