mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
94149: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud) 94086: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1) 94049: MNT-8810: Audit: Double READ on first Share preview - Fixed build failure for V4.2-BUG-FIX git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@95049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -54,7 +54,6 @@ import org.alfresco.service.cmr.action.ExecutionSummary;
|
||||
import org.alfresco.service.cmr.action.ParameterDefinition;
|
||||
import org.alfresco.service.cmr.dictionary.DataTypeDefinition;
|
||||
import org.alfresco.service.cmr.rendition.RenderCallback;
|
||||
import org.alfresco.service.cmr.rendition.RenditionCancelledException;
|
||||
import org.alfresco.service.cmr.rendition.RenditionDefinition;
|
||||
import org.alfresco.service.cmr.rendition.RenditionService;
|
||||
import org.alfresco.service.cmr.rendition.RenditionServiceException;
|
||||
@@ -391,7 +390,7 @@ public abstract class AbstractRenderingEngine extends ActionExecuterAbstractBase
|
||||
{
|
||||
logger.debug("Rendition has not been created, because the node no longer exists. (sourceNode=" + sourceNode + ")");
|
||||
}
|
||||
notifyCallbackOfException(renditionDef, new RenditionCancelledException("Rendition was cancelled, because the node no longer exists."));
|
||||
notifyCallbackOfException(renditionDef, new UnimportantTransformException("Rendition was cancelled, because the node no longer exists."));
|
||||
return;
|
||||
}
|
||||
else if (nodeService.getProperty(sourceNode, ContentModel.PROP_CONTENT) == null)
|
||||
@@ -400,7 +399,7 @@ public abstract class AbstractRenderingEngine extends ActionExecuterAbstractBase
|
||||
{
|
||||
logger.debug("Rendition has not been created, because the node has no content to render. (sourceNode=" + sourceNode + ")");
|
||||
}
|
||||
notifyCallbackOfException(renditionDef, new RenditionCancelledException("Rendition was cancelled, because the node has no content to render."));
|
||||
notifyCallbackOfException(renditionDef, new UnimportantTransformException("Rendition was cancelled, because the node has no content to render."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user