Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-82471

Invalid URL given to access Form entries in email notifications

    Details

      Description

      Steps to Reproduce:

      1. Setup/Configure an SMTP server to receive emails from Liferay server
      2. Add a new Form with a text field
      3. Configure email notifications for the form (in Settings)
      4. Publish Form
      5. Go to Publication URL
      6. Submit an entry
      7. View email notification
      8. In the email, click the link at: View all the form's entries by clicking here.

      Expected Result:
      Link directs to form entries list.

      Actual Result:
      Link URL is incorrect. Error thrown on navigation, "Forms is temporarily unavailable."

      2018-06-14 21:37:28.511 ERROR [http-nio-8080-exec-8][render_portlet_jsp:131] null
      java.lang.NullPointerException
      	at com.liferay.dynamic.data.mapping.form.web.internal.display.context.DDMFormAdminDisplayContext.getDDMFormInstanceRecordVersion(DDMFormAdminDisplayContext.java:270)
      	at org.apache.jsp.admin.view_005fform_005finstance_005frecord_jsp._jspService(view_005fform_005finstance_005frecord_jsp.java:253)
      

      The link for the big button: "Click here to access the form" does correctly direct to the specific form entry.

      Reproduced on:
      7.1.x-private: 23f1b2e8a13c064f014ae8a285f941b0b2ed375c

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                randolph.do Randolph Do (Inactive)
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  31 weeks, 5 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP1
                  7.2.X
                  7.2.1 CE GA2
                  Master