My Oracle Support Banner

DOC_INFO_BY_NAME IdcService Call Removes dOriginalName metadata value leading & trailing spaces (Doc ID 2622390.1)

Last updated on APRIL 09, 2024

Applies to:

Oracle WebCenter Content - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
The DOC_INFO_BY_NAME IdcService call  is returning the dOriginalName metadata value without the leading & trailing spaces.

EXPECTED BEHAVIOR
-----------------------
The DOC_INFO_BY_NAME IdcService call should return the dOriginalName metadata value exactly how it appears in the DOCUMENTS and REVISIONS tables from the UCM schema, including all the surrounding spaces.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Try to call the API function DOC_INFO_BY_NAME for a content item that has a primary file name prefixed with a space (like " textfile.txt")

This is the obtained dOriginaNamel tag value:

extracted from the XML response (the DOC_INFO resultset).

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot obtain the correct names of the primary files prefixed or post fixed by spaces.

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.