Blank notes are created when adding inline images to email templates #4728

Open
opened 2026-02-20 16:22:51 -05:00 by deekerman · 1 comment
Owner

Originally created by @Mac-Rae on GitHub (Feb 9, 2022).

Issue

Blank notes are created when adding inline images to email templates
image
image
don't ask about the really really really long name xD

Expected Behavior

The record should be hidden from public view or should contain a valid "emailattachment: name" title while linking to the document correctly.

Actual Behavior

It fails to do either and displays a blank record.

Steps to Reproduce

  1. Create a new email template

  2. Add an inline image by clicking insert in the edit box popup

  3. Add any image and save

  4. See that a new note exists with no title or attachment

  5. Add an attachment and save

  6. See that a new note exist with a title and attachment linked

Your Environment

  • SuiteCRM Version used: 7.12.3
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome Latest
  • Environment name and version (e.g. MySQL, PHP 7): MariaDB, PHP74
  • Operating System and version (e.g Ubuntu 16.04): Hosted Ubuntu 20.04, User Windows 10
Originally created by @Mac-Rae on GitHub (Feb 9, 2022). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> <!--- If you have discovered a security risk please report it by emailing security@suitecrm.com. This will be delivered to the product team who handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team. ---> #### Issue <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> <!--- Ensure that all code ``` is surrounded ``` by triple back quotes. This can also be done over multiple lines --> Blank notes are created when adding inline images to email templates ![image](https://user-images.githubusercontent.com/45397629/153180411-546c0002-24e1-455d-8ce8-809ea2201613.png) ![image](https://user-images.githubusercontent.com/45397629/153180444-20b3aafb-d72f-4ba0-853b-ece53beff41d.png) *don't ask about the really really really long name xD* #### Expected Behavior <!--- Tell us what should happen --> The record should be hidden from public view or should contain a valid "emailattachment: name" title while linking to the document correctly. #### Actual Behavior <!--- Tell us what happens instead --> <!--- Also please check relevant logs (suitecrm.log, php error.log etc.) --> It fails to do either and displays a blank record. #### Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug include code to reproduce, if relevant --> 1. Create a new email template 2. Add an inline image by clicking insert in the edit box popup 3. Add any image and save 4. See that a new note exists with no title or attachment 5. Add an attachment and save 6. See that a new note exist with a title and attachment linked #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: 7.12.3 * Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome Latest * Environment name and version (e.g. MySQL, PHP 7): MariaDB, PHP74 * Operating System and version (e.g Ubuntu 16.04): Hosted Ubuntu 20.04, User Windows 10
Author
Owner

@SuiteBot commented on GitHub (Feb 9, 2022):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/system-auto-create-new-blank-note-record-after-insert-a-picture-in-email-template/83955/6

@SuiteBot commented on GitHub (Feb 9, 2022): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/system-auto-create-new-blank-note-record-after-insert-a-picture-in-email-template/83955/6
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4728
No description provided.