Monthly Archives: June 2014

Multiple files upload in Liferay 6.1

      No Comments on Multiple files upload in Liferay 6.1

Today I have found a weird bug in Liferay’s UploadServletRequestImpl in the following method public String getFullFileName(String name) { FileItem[] liferayFileItems = _fileParams.get(name); if ((liferayFileItems != null) && (liferayFileItems.length > 0)) { FileItem liferayFileItem = liferayFileItems[0]; return liferayFileItem.getFullFileName(); } return null; }   The intention of the above code is to return… Read more »