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

Form Entry cannot be saved if there is a Select field that its options comes from the Autofill

    Details

      Description

      Steps to Reproduce:

      1. Add a Data Provider
        • Name: "Liferay Countries"
        • URL: "http://localhost:8080/api/jsonws/country/get-countries
        • User Name: "[email protected]"
        • Password: "test"
        • Outputs:
          • Label: "Name"
          • Path: "nameCurrentValue"
          • Type "List"
      2. Save data provider
      3. Add new form
      4. Add text field
      5. Add select field
      6. Add new Rule
        • If > Text field > Contains > Value > "a"
        • Do > Autofill > From Data Provider > "Liferay Countries"
        • Name > "Select field"
      7. Save Rule
      8. Save form and Publish form
      9. Get publish link and go to publish form page
      10. Fill the text field with "a"
      11. The Select field will be filled with the Country list
      12. Select a Country
      13. Save the Form Entry

      Expected Result:
      The Form Entry can be saved.

      Actual Result:
      The Form Entry cannot be saved.

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.17. Portal master GIT ID: 05999eb6af3a986b288c02e2f9521fb3f5d6ea78.

        Attachments

          Activity

            People

            Assignee:
            victor.ware Victor Ware
            Reporter:
            rafael.praxedes Rafael Praxedes
            Participants of an Issue:
            Recent user:
            Enterprise Release HU
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.X
                Master