-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print pdf don't delete file in var folder #3535
Comments
Hi @quienti , |
Isn't it strange that the PDF's are dropped in the var root? I'd rather see them end up in a semantically named subdir or in the var/tmp dir. |
Just going to put this here for search engine semantics. If you ever try to print pdf's from the frontend and get no such template {} error. It is because magento forgot to place two files in the frontend for the methods to access their templates.. copy the files from adminhtml/templates/info/pdf* to frontend/templates/info/pdf/*
Hope this saves you hours of frustration from seemingly useless error message when trying to print pdf's from the frontend (or email their attachments!) |
@quienti, thank you for your report. |
@quienti, thank you for your report. Unfortunately, we are archiving this ticket now as it did not get much attention from both Magento Community and Core developers for an extended period. This is done in an effort to create a quality, community-driven backlog which will allow us to allocate the required attention more easily. You may learn more about this initiative following this link. Please feel free to comment or reopen the ticket if you think it should be reviewed once more. Thank you for collaboration. |
Hi @quienti. Thank you for your report.
The fix will be available with the upcoming 2.2.6 release. |
Hi @quienti. Thank you for your report.
The fix will be available with the upcoming 2.3.0 release. |
…ner-inline-focus [Owls] MC-3812: Text/Banner - Stage Inline Editor becomes focused and editable after clicking Save button on Edit Form
Magento 2.0.2
If we print a pdf in

Shipment
:We generate the file in folder

var
: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
The text was updated successfully, but these errors were encountered: