Skip to content

FileNotFoundException in the RequestDataCollector when the request contains uploaded files #29284

Closed
@fbourigault

Description

@fbourigault

Symfony version(s) affected: 4.2.0-beta2

Description
Since uploaded files are displayed in the profiler, each time a Request with at least one UploadedFile is profiled, a FileNotFoundException is thrown. This happens because the UploadedFile method was called and was successful.

It's was probably introduced in #26946.

How to reproduce
Create a new Symfony 4.2 project with the profiler and setup file upload like explained in the documentation (https://symfony.com/doc/current/controller/upload_file.html).

Then choose a file, submit the form.

Additional context
localhost_8000_product_new

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions