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

serviceContext's uuid may be null when creating DDMFormInstanceRecord

    Details

      Description

      Steps to reproduce:

      1) Create a new form. Add any field to this form
      2) Go to a page and place form portlet
      3) Configure this portlet to render the form
      4) Put the breakpoint here:
      https://github.com/liferay/liferay-portal/blob/master/modules/apps/dynamic-data-mapping/dynamic-data-mapping-service/src/main/java/com/liferay/dynamic/data/mapping/service/impl/DDMFormInstanceRecordLocalServiceImpl.java#L120
      5) Fill in the required values in the form and submit it.

      Actual behavior: The ddmFormInstanceRecord will already have a uuid which is set no null because serviceContext's uuid is not created prior
      Expected behavior: If serviceContext's uuid is null, it shouldn't be assigned to ddmFormInstanceRecord's uuid

        Attachments

          Activity

            People

            Assignee:
            team-forms Product Team Forms
            Reporter:
            istvan.dezsi Istvan Dezsi
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Engineering Assignee:
            Istvan Dezsi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              13 weeks, 6 days ago

                Packages

                Version Package