Hello everyone, Thank you in advance for your time, me and my team are having some problems with the Advanced Rich Text Editor plugin and pasting images:Error introduction:
Quick context:
Important notes:
Error details
When pasting an image inside the plugin’s richTextEditorField it is automatically generating a base64 as a source to that image. Here we can see the images pasted and text written, and can save the generated html in the database.
This base64 is sometimes really large (we had tests with base64 codes bigger than 200k characters on large images), resulting in an access denied error when we try to display the generated html back in Appian.
This error only occurs on the site, if we use the appian designer we can see the images without any errors either when saving the html or when displaying the html.
We have to select the email we want to display in a grid to be able to see it’s body displayed in another interface, sometimes we can open the email on the first selection and see it’s body, but if we unselect the same row and select it again it displays the access denied error.
On other cases we always get the error (with bigger or multiple images saved on the html), and on other cases it seems to work fine (without images and/or with smaller images).
This error also seems to be related to the a!startProcessLink. If we remove the a!startProcessLinks from the same interface (or child interfaces) of the richTextEditorField we don’t get that error anymore.
Even just by having an empty function like “a!startProcessLink()” without any parameters, together with a base64 is enough to get that error when trying to display the html. The error only happens when we have these two factors (base64 and a!startProcessLink) and overall seems like a memory/cache issue.
Other notes:
We have checked the permissions and security for all related objects and tested with admin users.
The images sent by email also seem to be cut, showing only a part of it in outlook:
But when decoding the sent base64 we can see the full images:
We have talked directly to the Appian Support but without much help. They have applied some patches that didn't fixed the issue and advised us to try to talk to the community and to the plugin authors (which I'm not being able to do)
Discussion posts and replies are publicly visible