My Oracle Support Banner

A User Attribute Whose Name Has Extra White-Space Unexpectedly Removes All Other Attributes (Doc ID 2055463.1)

Last updated on JANUARY 08, 2024

Applies to:

Oracle WebCenter Sites - Version 11.1.1.8.0 to 12.2.1.0.0 [Release FatWire]
Information in this document applies to any platform.

Symptoms

In "Modify User Attributes" page of Admin UI, the user attributes unexpectedly vanish, if a new attribute is added whose name includes white-space.

When the issue occurs, it does not show any error in Admin UI but following unique constraint violation error is reported in sites log.

 

Changes

It occurs when adding a user attribute with extra white-space at the beginning or end of the attribute name (e.g. "mail ", " mail").

For example, you can see the issue with following steps with a built-in demo user:

  1. Login Admin UI
  2. Open "Admin" tab, then open [User Access Management]->[User]
  3. In "User" page, enter the user name "demo" and select "Modify User Attributes", then click [OK]
  4. In "Modify User" page, click the user name
  5. Add following 2 attributes to demo user, then click [Modify]
    • Name: displayname / Value: demo 
    • Name: locale / Value: en_US
  6. Add an another attribute named "mail " ("mail" + white space) and click [Modify]
    --> At this time, the attribute "mail " seems to be added without any issue.
  7. After step 6, click [Modify] again without any further change.
    --> All attributes excepts the "mail " attribute which was added in step 6 (i.e. displayname and locale attributes added in step 5) are unexpectedly removed.

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
Changes
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.