mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-8683: RenditionServiceException in log upon checking in item (Edit Offline -> Upload New Version, Checkout ... -> Checkin from Google Docs)
* Rendering engine no longer trys to create a rendition if the source node does not exist. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31106 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -370,6 +370,8 @@ public abstract class AbstractRenderingEngine extends ActionExecuterAbstractBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void executeImpl(final RenditionDefinition renditionDef, final NodeRef sourceNode)
|
protected void executeImpl(final RenditionDefinition renditionDef, final NodeRef sourceNode)
|
||||||
|
{
|
||||||
|
if (nodeService.exists(sourceNode) == true)
|
||||||
{
|
{
|
||||||
if (logger.isDebugEnabled())
|
if (logger.isDebugEnabled())
|
||||||
{
|
{
|
||||||
@@ -451,6 +453,14 @@ public abstract class AbstractRenderingEngine extends ActionExecuterAbstractBase
|
|||||||
}
|
}
|
||||||
}, runAsName);
|
}, runAsName);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (logger.isDebugEnabled() == true)
|
||||||
|
{
|
||||||
|
logger.debug("Rendition has not been created, because the node no longer exitst. (sourceNode=" + sourceNode + ")");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is this a standalone rendition, or is it a sub-component of
|
* Is this a standalone rendition, or is it a sub-component of
|
||||||
|
Reference in New Issue
Block a user