My Oracle Support Banner

E1: AIS: REST API Updatetext "/jderest/v2/file/updatetext" Adds BR Tag in Text Attachments Which Is Visible in Internet Explorer (Doc ID 2814363.1)

Last updated on OCTOBER 20, 2021

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

When the JDE REST API(RESTful Application Programming Interface) for updating media object text i.e /jderest/v2/file/updatetext is called via orchestrator or any other method and if the media object text that is passed to this API has line breaks , then the line breaks do not appear correctly when viewing the media object text attachments using Internet Explorer but shows <BR> tag instead. This happens when append mode parameter of the API is passed as True. The <BR> tag is not visible when using Chrome or Firefox browser.

For example : 

Steps to replicate:

  1. Create an orchestrator that calls the AIS REST API /jderest/v2/file/updatetext  
  2. Run the Orchestrator with following input parameters:   
  3. Verify that text is added as media object attechment for AB number 1001
  4. Repeat step 2 multiple times
  5. View the text attachment in Internet Explorer and then view the same text using Google Chrome 
  6. Notice the difference as illustrated in example above.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.