serviceContext.setAttribute("trackbacks", trackbacks);
}
else {
serviceContext.setAttribute("trackbacks", null);
}
<BUG>entry = startWorkflowInstance(userId, entry, serviceContext);
if ((coverImageImageSelector != null) &&</BUG>
(coverImageImageSelector.getImageId() != 0)) {
PortletFileRepositoryUtil.deletePortletFileEntry(
coverImageImageSelector.getImageId());

serviceContext.setAttribute("trackbacks", trackbacks);
}
else {
serviceContext.setAttribute("trackbacks", null);
}
entry = startWorkflowInstance(userId, entry, serviceContext);
if ((coverImageImageSelector != null) &&
(coverImageImageSelector.getImageId() != 0)) {
PortletFileRepositoryUtil.deletePortletFileEntry(
coverImageImageSelector.getImageId());
