Affects Version/s: 6.2.X EE, 7.0.0 M4
Component/s: Web Form
Web form field cannot be added when the site language settings are changed
Steps to reproduce/Testing done
Start Liferay and login as admin
Go to Admin > Control Panel > Sites > Sites > Add > Intranet Site
Add an Intranet site without "Enable propagation..." on
Go to Admin > Site Administration > Site Settings > Display Settings
Choose to "Define a custom default language..."
Choose French (France) as the default language
Move all languages but French (France) from the Available Languages Current box and save
View the home page of the site
Add the Formulaire Web portlet to the page (Web Form portlet)
Go to Formulaire Web > Configuration
Add a new field below with any name
Notice at this point that the list of available languages is not reflected in the Web Form configuration
Save and then view the page
The new field will not be visible (even if the French language is chosen when adding the field) and when going back to the configuration screen it is not saved.
Results of Testing
Expected behavior: The site available languages would be reflected in the web form portlet and the new web form field would be visible.
Actual behavior: The site available languages are ignored and the new web form field is discarded