-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
paste content from templates instead of setContent to trigger pics registering #15531
paste content from templates instead of setContent to trigger pics registering #15531
Conversation
Images from template are added in base64 format to the database *************************** 2. row ***************************
id: 2
date_creation: 2023-09-05 08:45:00
date_mod: 2023-09-05 08:45:00
entities_id: 1
is_recursive: 0
name: TEmplate with image
content: <p>test</p>
<p><img id="3f86e129-2276836b-64f6ce6a884703.33400529" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS0AAAEGCAYAAAAwiMMbAAAABHNCSVQICAgIfAhkiAAAIABJREFUeF7tnQlcVNXbx38wm7IIOiCbCijuCyrmAi6JplgqLqWmWaZmZum/zZZXW83KLC2tLEtbaHHfC9TEJXdFBTdEVEABFVB2GAbkfe4sMAwDDjmM4/CcPhNzzz3nPOd8z8zP5zz33Ds2W4/El3rUhyoVZ1zC1r256BPaGklhX+ObqGL1CdSDX2AgBgd4w6OhGMW3r+FQxCHk95uKSe4n8MnHkYi/oy4q8WiPMWP7o28LB4g1tQtuxCFi7Q5su5CrzvEJxkcvd0Xaqi/x1WGtDTF6Tn0ZzzWJwcL5OxCr1FR2C8T7b/dF7sav8Tn1TZXqeyH48UEYFeCG+iJNubwbOBK+A7/tTUa+kCVpgUnvPQH/82vxxu+XoG0Otm4Y8+azGJARjpeWR5flN+gQjJfGdUULJzGyD+vV0ZjgP9ZL4GDEMrMMrrS0FGUvspiXkwUP98ZmsW0tRmz8B75c6uElh/2dLKRcy0S+RnzuPsB66PPCS5jkfAIfLIhEkl49SUM3eJPAFeVkIDWtsFw07t6w8SXqO6OZmz2kxXlISalJ36swYStGA7kDkJ2JbEUVZTjbKgmwaD040yqGMhepCRoPxlC/yasZPK4vvC/uwE/7M8rER+LRCT18xSiIu4F0A0KnvH0D8b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XLcQzAhSImL5cUhDhiC0swekRem4sH8fft+bWLGPIid0eqQfQgK84UHObHoS9XEL9fF6+VgNoOcsJlDnCfw/M76KpJ+/ub4AAAAASUVORK5CYII=" data-upload_id="0.8375980914691212"></p>
<p> </p>
<p>blablalb</p>
requesttypes_id: 0
is_private: 0
comment: This causes an error (normal) if the image is too large curiously (with a small image), using the template works perfectly id: 7
itemtype: Ticket
items_id: 5
date: 2023-09-05 08:48:12
users_id: 2
users_id_editor: 0
content: <p>test</p>
<p><a href="/GLPI/10.0-bugfixes/front/document.send.php?docid=1&itemtype=Ticket&items_id=5" target="_blank" ><img alt="3f86e129-2276836b-64f6cf13b90569.48148939" width="301" src="/GLPI/10.0-bugfixes/front/document.send.php?docid=1&itemtype=Ticket&items_id=5" /></a></p>
<p> </p>
<p>blablalb</p>
is_private: 0
requesttypes_id: 0
date_mod: 2023-09-05 08:48:12
date_creation: 2023-09-05 08:48:12
timeline_position: 1
sourceitems_id: 0
sourceof_items_id: 0
And document is added correctly for related followup |
After discussion IRL The image in the template is managed in base64 and saved directly in the database (no link to a document as in 9.5). When the template is used in a follow-up (or solution, or task), the image is managed like a classic copy/paste. The image is therefore converted into a document, then attached to the follow-up. So this PR should suffice in this form. |
b161d66
to
8648243
Compare
8648243
to
ec28475
Compare
I'm not sure I'm not breaking stuff but at least we can discuss about it and share with the customer.
SO, using the paste command, to set the content from a template, instead the
setContent
one permits pictures to be registered as documents of the related timeline item.