Affects Version/s: 6.2.0 CE B1, 6.2.X EE, 7.0.X EE, Master
LPS-13285 to Wiki fallback uploader to provide inline validation and not require the use of a popup alert to provide the error message to the user.
Steps to Reproduce:
- Add the following to your portal-ext.properties: dl.file.extensions=.txt
- Start Tomcat/Portal
- Add the Wiki Portlet to any page
- Using DevTools search for the class "lfr-fallback"
- Remove the "hide" class from the "lfr-fallback" div
- Using the fallback uploader attempt to add any file that is not a .txt
Expected Result: Validation error message appears inline underneath the input.
Actual Result: A native browser alert is displayed on error.