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

Form import fails due to missing reference to Data Provider

    Details

      Description

      Steps to reproduce

      1. Go to Content > Forms
      2. Add a Data Provider
      3. Create an Element Set with a Text field and enable the property Autocomplete of this field. This Autocomplete should be generated from the Data Provider created on the previous step.
      4. Create a Form using the Element Set created on the previous step.
      5. Export the created Form.
      6. Create a child site of your current site.
      7. Go to the child site > Content > Forms and import the LAR file generated from the Form's export.
      8. Once the import complete, delete the imported Form and rename the imported Data Provider to avoid confusion with the elements of the parent site.
      9. Create an Element Set with two Text fields, both should have the property Autocomplete enabled. In addition, the first Text field should create its Autocomplete from the Data Provider of the parent site and the second one from the Data Provider of the child site.
      10. Create a Form using the Element Set created on the previous step.
      11. Export the created Form.
      12. Start a new portal (with a different database) and try to import the new LAR created on the previous step.

      Expected behavior

      The import process displays an error message informing that there is a missing reference (the Data Provider of the parent site) and only when this missing reference is previously imported in the parent site of the current site executing the Form's import, the import process should complete successfuly.

      Actual behavior

      The import process fails and the attached error is displayed in the log.
       

        Attachments

        1. import error.txt
          15 kB
        2. master.png
          master.png
          24 kB

          Activity

            People

            • Assignee:
              joyce.wang Joyce Wang
              Reporter:
              renato.rego Renato Rêgo
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                15 weeks, 1 day ago

                Packages

                Version Package
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                Master