Unable to Retrieve User Preferred Language Value in Expression Bulider (Doc ID 1520411.1)

Last updated on JUNE 01, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

The expression "#{webCenterProfile[securityContext.userName].preferredLanguage}" does not evaluate as expected, the value returned is NULL.

The issue can be reproduced at will as follows:
Login WebCenter Spaces
-> Administration (link at top right)
-> Resource (tab)
-> Navigations (link, left pane)
-> Edit a Navigation Item (copy a seeded item if you are unable to edit)
-> Add Link
-> Target (tab)
-> Name (attribute) -> Expression Builder -> choose "User Info" , Preferred Language Code -> Click "Test"
The popup information says "Value Returned: "

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