E1: AIS: REST API Updatetext "/jderest/v2/file/updatetext" Adds BR Tag in Text Attachments Which Is Visible in Embedded Media Object Viewer using Microsoft Edge with Internet Explorer mode
(Doc ID 2937704.1)
Last updated on MARCH 27, 2023
Applies to:
JD Edwards EnterpriseOne Tools - Version 9.2 and laterInformation in this document applies to any platform.
Symptoms
After upgrading the tools release to 9.2.6.0 or 9.2.5.5 to have the fix for Bug 33178619 (fixed in 9.2.6.0 tools release) or Bug 33273987 (fixed in 9.2.5.5 tools release) as described in Doc ID 2814363.1 - REST API Updatetext "/jderest/v2/file/updatetext" Adds BR Tag in Text Attachments Which Is Visible in Internet Explorer, when "/jderest/v2/file/updatetext" Rest API is used to update the text of a Media Object item and if the updated text has line breaks, the text shown in embedded Media Object viewer (not the standard or enhanced Media Object viewer, but the one embedded into application), is still showing <br> tags in the updated text when using Microsoft Edge with Internet Explorer mode.
Steps to replicate:
1. On a JAS server instance wher ActiveX MO are enabled, using Microsoft Edge with Internet Explorer mode enabled, open P13700 and search for an Work Order. If using demo data WO# 400004 is OK to test with.
2. Add a text attachment to the Work Order
3. Run /jderest/v2/file/updatetext REST API against the AIS server with appendText=true and inputText="\nThis is the second line\nThis is the third line"
4. Check the updated text atachment:
a) In Media Object Viewer -> The text attachment shows OK
b) By clicking the Work Order number in P13700 and opening the Attachments tab -> The text attachment shows OK
5. Run again the /jderest/v2/file/updatetext REST API against the AIS server with appendText=true and inputText="\nThis is the fourth line\nThis is the fifth line"
6. Check the updated text attachment:
a) In Media Object Viewer -> The text attachment shows OK
b) By clicking the Work Order number in P13700 and opening the Attachments tab -> The text attachment shows NOT OK. It is showing <br/> instead of line ending.
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 |