legacy-knowledge-base
公開されました Jun. 30, 2025

The account email address is set to null

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • When updating a custom field at the account entry, the account email address is set to null
  • Steps to reproduce:
    • Create a new Account, “Account”.
    • Attach an e-mail address “abc@liferay.com” to the account entry – the easiest way is to either use API (e.g. patch account) or use a script to add the email address and then update the account entry. Note: this is the account entry’s email address and not the email addresses listed under Contact.
    • Verify that the email address exists by retrieving this account using API or a script. It should be listed under 'emailAddress.’
    • Go to your account by selecting it in the Accounts menu.
    • Scroll to the bottom without making any changes and press “Save”.
    • Repeat step 3 by attempting to retrieve the account.
      Expected Behavior: The email address shows no changes.
      Observed Behavior: The email address field is now empty.

Environment

  • Liferay DXP 2024.Q2.1

Resolution

  • The observed behavior is a known bug that has been addressed via LPD-33636 

Additional Information

  • If the hotfix is required for this issue, please create a support ticket requesting the hotfix by attaching the patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to installation of the hotfix in the respective environment.
did-this-article-resolve-your-issue

legacy-knowledge-base