Notifications

367 views

Description

The image attachment feature available on the TinyMCE html editor does not warn when uploading another image with the same file name of one uploaded before.
Only one image will show in the attached files in the end.

Steps to Reproduce

 

Prerequisite:
Save two different image files in PNG format with same filenames in different locations on your local disk.

  1. Login to OOB instance
  2. Open any active incident
    • Right click on header form layout
    • On the incident form, add a field called Description
    • Update
  3. On the incident form
    • Right click on Description field
    • Change the field type for Description from string to html
    • Update
  4. On the incident form, notice that Html editor is available on Description field
  5. In Html editor, click on image upload icon
  6. Upload first image file, and then click OK
  7. Upload second image file, and then click OK 

Notice that the second image file is not attached in Description.

 

Workaround

Different file names need to be used.

The enhancement request FTASK18075 has been created to possibly introduce a warning message.

Limited to the TinyMCE HTML editor uploads, the UI Page html_insert_image_dialog can be modified by adding:

GlideDialogWindow.get().setPreference('force_replace', 'false');


Related Problem: PRB580050

Seen In

Calgary Patch 1 Hot Fix 3
Calgary Patch 2 Hot Fix 5
Eureka Patch 10
Eureka Patch 9 Hot Fix 4
Fuji Patch 12 Hot Fix 1
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - ITOM - CMDB CI Class Models - 201909
SR - ITOM - Discovery and Service Mapping - 201908
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Have I Been Pwned Integration - New York 2019 Q3
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response PA Content - New York 2019 Q3
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - SIR - Threat intelligence - New York 2019 Q3
SR - SIR - VirusTotal Integration - New York 2019 Q3
SR - SIR - WHOIS Integration - New York 2019 Q3
SR - VR - Vulnerability Response - New York 2019 Q3
SR - VR - Vulnerability Response PA Content - Madrid 2019 Q2
SR Hybrid Analysis Kingston r1 - v5.0.9

Intended Fix Version

Paris

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-02-05 10:21:02
Published:2017-06-27