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
[9.2] image insertion in mail ticket notification #2869
Comments
Hello, |
no if I access the full url (http://10.128.6.69/glpi/front/document.send.php?docid=3488) in my browser the image is displayed correctly. |
Check rules the folder ( Write and Reader ) ? |
alright the problem is since version 9.2, you can insert images directly into the ticket with tinyMCE. When the notification is sent, the content of the ticket is copied in the mail with the same src.(missing the root) |
@kelior, Have you find solution ? |
no, wait new realease,,,, |
Hello guys, |
And in #3092 (will be also released in 9.2.1) mail collect of inline pictures should work |
delete redondant code depreciate Ticket::convertContentForNotification
delete redondant code depreciate Ticket::convertContentForNotification
#3154 |
It is fixed on my end |
The problem probably comes from here : Modify
|
The inc/html.class.php:5466 fixes some of the issue but not all, inline mailed messages still have the wrong url, fix: inc/html.class.php:5474
to
|
Also it seems to mess up the email notifications with more then just one image. When creating a new ticket or doing a follow up using the website with mutliple images only the first gets used in the notification. Also it seems to want to resize/crop/whatever the first image using the website, but not the other images. |
It does not work even by changing / removing variables, someone to an idea? Because it's still a critical function ... 👎 |
The changes work for me but only on new uploaded images, not existing. Guess the generated tags are saved in the database. |
Hi. Confirm. The changes work. Thank you! |
Hi everybody File : inc/notificationeventmailing.class.php
Line : ~236
Hope it will help some of you. |
Since the 9.2 upgrade, when we receive a mail notification on a ticket update,
the images linked in the ticket do not appear like they used to do :
Here is the result we get on the mail :
It seems the link to the docid is not complete.
The text was updated successfully, but these errors were encountered: