GetShellList Is Returning Unexpected Output (Doc ID 2096916.1)

Last updated on JANUARY 21, 2016

Applies to:

Primavera Unifier - Version 10.1 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
----------------------
When invoking the getShellList with filterCondition, it works when the shell exists and Unifier returns the appropriate “_shell” XML (see attachment).

However, when the shell does not exist, instead of returning 0 shells (“_shell”), Unifier returns something completely different (“shell” – see attachment) which contains what appears to be the details of all the shell fields (DataElements).

STEPS TO REPRODUCE
----------------------
1.Call getShellList method with one filter condition (the shell does exist)
2.Return proper shell information, one example like below :
3.Call getShellList method with one filter condition (the shell does not exist), it returns something completely different which contains what appears to be the details of all the shell fields (DataElements).

Example:


......
<List_Wrapper>
<shell>
<DataElement>
<Name>pid</Name>
<Label>hidden</Label>
<Type>INTEGER</Type>
<Mandatory>false</Mandatory></DataElement>
<DataElement>
<Name>ugenAddress3TXT120</Name>
<Label>Address 3</Label>
<Type>VARCHAR</Type>
<InputType>text</InputType>
<DataDefinition>SYS Short Description Text 120</DataDefinition>
<Mandatory>false</Mandatory></DataElement>
<DataElement>
<Name>ugenAddress2TXT120</Name>
<Label>Address 2</Label>
<Type>VARCHAR</Type>
<InputType>text</InputType>
<DataDefinition>SYS Short Description Text 120</DataDefinition>
<Mandatory>false</Mandatory></DataElement>
<DataElement>
<Name>uuu_longitude</Name>
<Label>Longitude</Label>
<Type>VARCHAR</Type>
......

EXPECTED BEHAVIORe
-----------------------
For getShellList method, if the shell does not exist, it should return 0 shell.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms