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

Adding an "Edit mode" form template in the DDL Display portlet overrides the "Create mode" template

    Details

      Description

      Steps to Reproduce:

      1. Navigate to Site Admin > Content > Dynamic Data Lists > Manage Data Definitions. Add a data definition.
      2. Click on the definition's actions button > Manage Templates.
      3. Add a Form Template with create mode selected.
      4. Create a Dynamic Data List based on the definition.
      5. Add a Dynamic Data List Display to a page, select the list, and go to the portlet configuration. You can see that the new template is an option in the form template dropdown.
      6. Add another form template (configured as edit mode) for the definition from the control panel.
      7. Go back to your Dynamic Data List Display portlet. The edit mode form template doesn't display in the form template selector drop down.
      8. In Dynamic Data List Display Portlet click on "Add Form Template" and create a new edit form template. (Check that the new template is not in the form template drop-down, which is still on default)
      9. Add a record

      Expected Result:
      The default create form is shown.

      Actual Results:
      The new edit form is shown

      Reproduced on master - 8b03509
      Reproduced on 62x - b9c7eee

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              harry.chai Harry Chai
              Reporter:
              bryan.engler Bryan Engler
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 16 weeks, 3 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.1 CE GA2