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

Data provider fails to retrieve data if form user is logged off

    Details

      Description

      Steps to reproduce:

      1. Go to Content > Forms
      2. Go to add a Data Provider
        • Name: Liferay Countries
        • URL: localhost:8080/api/jsonws/country/get-countries
        • User: test@liferay.com
        • Password: test
        • Output Label: Country
        • Output Path: nameCurrentValue
        • Output Type: list
      3. Save Data Provider
      4. Go back to the Form List
      5. Add a Form
      6. Add a Select field populated by the data provider created in step #2
      7. Save and publish form
      8. Copy link and open in another tab
      9. Assert that data provider in Select Field works
      10. Open the same link in an anonymous tab (or log off from Portal)
      11. Try to select an option from Select Field

      Expected result:
      User can select a country from the Select Field.

      Actual result:
      Data is not retrieved by data provider into the Select Field.

      Note:
      Feedback reported by Zeno Rocha via Slack.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 27 weeks ago

                Packages

                Version Package
                7.1.X
                Master