LPS-36716 Wiki portlet throws incorrect error when invalid file extension is uploaded