You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file attachment is added to a ticket / article, it should be displayed with an icon for the given mime-type, or a thumbnail in case of an image file.
Actual behavior:
When a ticket / article has been created in the web interface or by incoming mail, the icon / thumbnail in front of the linked filename is shown correctly.
If the same entry gets created via API, an icon with a question mark (?) with a squared border is displayed instead of the actual thumbnail.
Steps to reproduce the behavior:
Save the following PHP-script to a file (named addarticle.php for example):
Infos:
Expected behavior:
When a file attachment is added to a ticket / article, it should be displayed with an icon for the given mime-type, or a thumbnail in case of an image file.
Actual behavior:
When a ticket / article has been created in the web interface or by incoming mail, the icon / thumbnail in front of the linked filename is shown correctly.
If the same entry gets created via API, an icon with a question mark (?) with a squared border is displayed instead of the actual thumbnail.
Steps to reproduce the behavior:
variables
on top of the script to match your dev environment, especially$baseurl
,$client_id
,$client_pass
andticket_id
.php addarticle.php
(or whatever your php file is named)The text was updated successfully, but these errors were encountered: