Skip to content

Print pdf don't delete file in var folder #3535

@quienti

Description

@quienti

Magento 2.0.2

If we print a pdf in Shipment :
sans titre 1

We generate the file in folder var :
sans titre 2

But, this file is never delete !

If we look in this file :
https://github.com/magento/magento2/blob/2.0/lib/internal/Magento/Framework/App/Response/Http/FileFactory.php#L99-L101

This code doesn't work for pdf files, but this code work fine for csv files like export customer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: SalesFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug reporttriage wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions