Fluid Address Page not Loading Properly When User has No Address

(Doc ID 2325300.1)

Last updated on NOVEMBER 15, 2017

Applies to:

PeopleSoft Enterprise CS Student Records - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

On :  9.2 version, Student Records Self Service

ACTUAL BEHAVIOR  
---------------
Fluid Address page not loading properly when user has no address  

When selecting the "Profile" tile to launch the Profile navigation collection, if the user does not have an address in the PS_ADDRESSES_SA table, the page loads incorrectly.

Found the issue in the code:
Application Package Class: SCC_PROFILE_FL:COMPONENTS:SCC_ADDR_DTLS_FL
Method: Scc_Addr_Dtls_FL_PostBuild
Snippet of code that is causing the issue: "If &myConsumer.collPersonAddress.PersonAddressElements.Len > 0 Then"

If the user has no address in the system, the length comes back as 0, and the proper formatting cannot take place, since it is inside the above If statement.

EXPECTED BEHAVIOR
-----------------------
All the address types and address boxes should have proper labeling and format

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.Login as a student (ensure that the student has no address in the system)
2. Go to Profile tile
3. Click on Addresses from the Profile navigation collection
4. Notice the page format and button label.  All the address types and address boxes have the label as Permanent Address.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
User may find the page improper and get confused with the address type labels

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