Legacy Knowledge Base
Published Jun. 30, 2025

If Form entries are saved into an Object, email notification about Form submission is not sent

Written By

Tímea Bihari

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • We have created an Object and a Form.
  • We save Form entries into the Object.
  • When a Guest user submits the form, the notification is not sent out.
  • We are getting the following error in the logs:
ERROR [http-nio-8080-exec-1254][DDMFormEmailNotificationSender:90] Unable to send form email
com.liferay.dynamic.data.mapping.exception.StorageException: com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 20095 must have VIEW permission for com.liferay.object.model.ObjectDefinition#38735 224152
at com.liferay.object.dynamic.data.mapping.internal.storage.ObjectDDMStorageAdapter.get(ObjectDDMStorageAdapter.java:139) ~[?:?]
at com.liferay.dynamic.data.mapping.service.impl.DDMFormInstanceRecordLocalServiceImpl.getDDMFormValues(DDMFormInstanceRecordLocalServiceImpl.java:311) ~[?:?]

 

Environment

  • Quarterly Releases

 

Resolution

  • This user (User 20095 but userID can be different) is the default@liferay.com user.
  • This account is used to represent Guest users when they upload files to Liferay.
  • To resolve the issue, the following steps need to be taken:
     
    1. Navigate to Control Panel --> USERS --> Roles, find the Guest role and click on it, then click the "Define Permissions" tab.
    2. Search for the Object you created
    3. Click on it and from the right side, you will see the permissions
    4. Scroll down to the Resource Permissions section and check the box for "Add Object Entry" AND "View'
    5. Save the configuration
Did this article resolve your issue ?

Legacy Knowledge Base