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

Form data provider does not work when connecting through proxy

    Details

      Description

      Steps to reproduce

      1. Setup a proxy server or use an existent one.
      2. Make sure you cannot access Internet without the proxy server.

      Note: the easiest way to turn off your Internet connection is editing your machine network preferences. Go to your IP configuration, switch to manual configuration instead of DHCP, keeping all the current settings, and delete only the Gateway (sometimes named Router) configuration. This way you won't have Internet access, unless you add the proxy server settings to your network preferences.

      3. Configure Liferay to connect through the proxy server. To do this, add the following properties to your system-ext.properties:

      http.proxyHost=[ PROXY SERVER IP ADDRESS ]
      http.proxyPort=[ PROXY SERVER PORT PROVIDING THE PROXY SERVICE ]
      

      4. Start Liferay.
      5. In Forms, add a Data Provider to retrieve data from an external online source.
      6. Create a form.
      7. Add a Select from List field and use the Data Provider created to populate it.
      8. Publish the form and check it through the provided URL.

      Actual results

      Select From List field is not populated.

      Expected results

      Select From List field is populated.

        Attachments

          Activity

            People

            • Assignee:
              alex.candido Alex Candido
              Reporter:
              renato.rego Renato Rêgo
              Participants of an Issue:
              Recent user:
              Renato Rêgo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.1.10 DXP FP12
                7.1.X
                7.2.X
                Master