Skip to content
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

Display emoticons as images -filter prevents pdf export #389

Open
Urpokarhu1 opened this issue Mar 4, 2022 · 0 comments
Open

Display emoticons as images -filter prevents pdf export #389

Urpokarhu1 opened this issue Mar 4, 2022 · 0 comments

Comments

@Urpokarhu1
Copy link

Urpokarhu1 commented Mar 4, 2022

Hello,

tested with:

  • Moodle 3.9.12 (Build: 20220117)
  • Mod_questionnaire 3.9.0 (Build - 2020062300)
    2020062301

if you use filter "Display emoticons as images" and user add emoticon f.ex :) to their answer and then you press "export to PDF" you get an error

Exception - TCPDF ERROR: [Image] Unable to get the size of the image: Unable to get the size of the image: http://moodleaddress.com/theme/image.php/boost/core/1646034665/s/smiley

Error code: generalexceptionmessage

Stack trace: line 2950 of /lib/tcpdf/tcpdf.php: Exception thrown line 6917 of /lib/tcpdf/tcpdf.php: call to TCPDF->Error() line 18981 of /lib/tcpdf/tcpdf.php: call to TCPDF->Image() line 18344 of /lib/tcpdf/tcpdf.php: call to TCPDF->openHTMLTagHandler() line 5859 of /lib/tcpdf/tcpdf.php: call to TCPDF->writeHTML() line 18276 of /lib/tcpdf/tcpdf.php: call to TCPDF->MultiCell() line 640 of /mod/questionnaire/report.php: call to TCPDF->writeHTML()

image

image

image

@Urpokarhu1 Urpokarhu1 changed the title Display emoticons as images -filter prevents pdf printing Display emoticons as images -filter prevents pdf export Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant