Affects Version/s: 7.1.X, Master
Originally tested on a fresh 7.1 bundle patched to dxp-12:
1. Unzip a fresh 7.1 bundle, and add the following CATALINA_OPTS environment variables to the setenv.sh (found in [Liferay_Home]/[Tomcat_Home]/bin):
2. Launch the bundle
3. Navigate to [Site_Administration] > Content > Forms, ⠇> Data Providers, and add a new REST data provider “Test REST provider” with the following (leaving all other defaults):
a. URL - http://localhost:8080/api/jsonws/region/get-regions/country-id/19/active/true
b. Output - Label: Name; Path: name; Type: list
4. Navigate back to [Site_Administration] > Content > Forms, and create a new form “Test Form” that contains a “Select from List” element, setting the “Create List” configuration to From Data Provider (choosing Test REST provider and Name for the required parameters).
5. Save and Publish the form, access it with the link in the UI alert at the top of the screen, and attempt to choose an option
Expected Result: The list is populated with the values from the data provider
Actual Result: There are no options to choose, as it says “No results were found,” and a WARN appears in the log (though I don’t know if it’s related following a quick Google search).