Project

General

Profile

Bug #11146

AS _sendmail: Versenden von generierten PDFs broken

Added by Elias Villiger about 1 month ago. Updated 10 days ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
10.09.2020
Due date:
% Done:

100%

Estimated time:
Discuss:

Description

In QFQ 20.6.2 ist es nicht mehr möglich, on-the-fly generierte PDFs per _sendmail zu versenden.


10.sql = SELECT 't:evilliger@gmail.com|f:{{TECHNICAL_CONTACT:Y}}|s:test subject|b:test body|p:?id=form|d:Test.pdf' AS _sendmail

gibt folgende Fehlermeldung:


toUser    unlink failed
support    2 - rename(/tmp/qfq.temp.QU1REK,/tmp/qfq.temp.DMecPR/Test.pdf): No such file or directory - rename(/tmp/qfq.temp.QU1REK ,/tmp/qfq.temp.DMecPR/Test.pdf)
File /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Helper/HelperFile.php
Line 340
CWD /var/www/html/prod
IP Address 89.206.112.12
Stacktrace #0 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/SendMail.php(412): IMATHUZH\Qfq\Core\Helper\HelperFile::rename('/tmp/qfq.temp.Q...', '/tmp/qfq.temp.D...')
#1 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/SendMail.php(212): IMATHUZH\Qfq\Core\Report\SendMail->attachmentsBuild(Array)
#2 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/SendMail.php(99): IMATHUZH\Qfq\Core\Report\SendMail->sendEmail(Array)
#3 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/Report.php(1153): IMATHUZH\Qfq\Core\Report\SendMail->process(Array)
#4 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/Report.php(869): IMATHUZH\Qfq\Core\Report\Report->renderColumn(0, Array, 't:evilliger@gma...', '10', 1, true)
#5 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/Report.php(573): IMATHUZH\Qfq\Core\Report\Report->collectRow(Array, Array, '10', 1)
#6 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/Report/Report.php(240): IMATHUZH\Qfq\Core\Report\Report->triggerReport()
#7 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/QuickFormQuery.php(1657): IMATHUZH\Qfq\Core\Report\Report->process('10.sql = SELECT...')
#8 /var/www/html/prod/typo3conf/ext/qfq/Classes/Core/QuickFormQuery.php(258): IMATHUZH\Qfq\Core\QuickFormQuery->doReport()
#9 /var/www/html/prod/typo3conf/ext/qfq/Classes/Controller/QfqController.php(47): IMATHUZH\Qfq\Core\QuickFormQuery->process()

Associated revisions

Revision 5a28e194 (diff)
Added by Elias Villiger about 1 month ago

Fixes #11146 Sendmail broken for generated pdf attachment

Revision 762d3782 (diff)
Added by Carsten Rose 8 days ago

Fixes #11146. Sendmail dynamic PDF broken

History

#1 Updated by Elias Villiger about 1 month ago

  • Priority changed from Urgent to High

#2 Updated by Elias Villiger about 1 month ago

Bug hier reingekommen:  https://git.math.uzh.ch/typo3/qfq/-/commit/8bf5273863549be1f3b1a42ef61a68e3a617da70  (Download.php)

Die tmp-Datei wird gelöscht, bevor sie gebraucht werden kann.

#3 Updated by Elias Villiger 10 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF