Custom fields on the User Profile page are blank after upgrading even though the field is populated. For example, if you had added a custom attribute (My Custom Attribute) in a previous version of AM and it was populated for a user (demo), they would see the following after upgrading to AM 7 instead of a value for the custom attribute:
Upgraded to AM 7 or later.
A User Profile Whitelist has been introduced in AM 7. Common profile attributes are whitelisted by default, but you must add any custom attributes that you want your non-administrative users to see as noted in Release Notes › Critical Changes to Existing Functionality.
If custom profile attributes are not whitelisted, then their data will not be visible to end users.
This issue can be resolved by whitelisting the missing profile attributes.
You can whitelist profile attributes using either the console or Amster:
- Console: navigate to: Realms > [Realm Name] > Services > User Self-Service > Profile Management and update the Self readable attributes field.
Amster: follow the steps in How do I update property values in AM (All versions) using Amster? with these values:
- Entity: UserSelfService
- Property: profileAttributeWhitelist
Related Issue Tracker IDs