FileEntry fileEntry = PortletFileRepositoryUtil.addPortletFileEntry(
groupId, userId, BlogsEntry.class.getName(), entryId,
PortletKeys.BLOGS, folder.getFolderId(), file, title, mimeType,
false);
coverImageId = fileEntry.getFileEntryId();
<BUG>PortletFileRepositoryUtil.deletePortletFileEntry(
coverImageImageSelector.getImageId());</BUG>
}
catch (IOException ioe) {
if (_log.isDebugEnabled()) {

FileEntry fileEntry = PortletFileRepositoryUtil.addPortletFileEntry(
groupId, userId, BlogsEntry.class.getName(), entryId,
PortletKeys.BLOGS, folder.getFolderId(), file, title, mimeType,
false);
coverImageId = fileEntry.getFileEntryId();
}
catch (IOException ioe) {
if (_log.isDebugEnabled()) {
