mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.1 to HEAD
13323: *RECORD-ONLY* Enterprise branding (ETHREEOH-1352 - Community logo in Enterprise version) - DO NOT MERGE 13325: ETHREEOH-102/ETHREEOH-981 - Thumbnail service doesn't support animated GIFs and no placeholder returned 13329: ETHREEOH-1417 - Clicking "Create Link" button in Site Links dashlet opens user's dashboard in IE7 13340: Fix for TinyMCE image-library button image not appearing in all browsers 13379: Wiki dashlet - added link to configured wiki page git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -156,10 +156,10 @@ public class ThumbnailServiceImpl implements ThumbnailService
|
||||
{
|
||||
if (logger.isDebugEnabled() == true)
|
||||
{
|
||||
logger.debug("Creating thumbnail: There is already a thumbnail with the name '" + thumbnail + "' (node=" + node.toString() + "; contentProperty=" + contentProperty.toString() + "; mimetype=" + mimetype);
|
||||
logger.debug("Creating thumbnail: There is already a thumbnail with the name '" + thumbnailName + "' (node=" + node.toString() + "; contentProperty=" + contentProperty.toString() + "; mimetype=" + mimetype);
|
||||
}
|
||||
|
||||
// We can't continue because there is already an thumnail with the given name for that content property
|
||||
// We can't continue because there is already an thumbnail with the given name for that content property
|
||||
throw new ThumbnailException(ERR_DUPLICATE_NAME);
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ public class ThumbnailServiceImpl implements ThumbnailService
|
||||
}
|
||||
else
|
||||
{
|
||||
// Do the thumnail transformation
|
||||
// Do the thumbnail transformation
|
||||
this.contentService.transform(reader, writer, transformationOptions);
|
||||
}
|
||||
|
||||
@@ -309,7 +309,7 @@ public class ThumbnailServiceImpl implements ThumbnailService
|
||||
}
|
||||
else
|
||||
{
|
||||
// Do the thumnail transformation
|
||||
// Do the thumbnail transformation
|
||||
this.contentService.transform(reader, writer, transformationOptions);
|
||||
}
|
||||
}
|
||||
@@ -344,7 +344,7 @@ public class ThumbnailServiceImpl implements ThumbnailService
|
||||
// Check that the node has the thumbnailed aspect applied
|
||||
if (nodeService.hasAspect(node, ContentModel.ASPECT_THUMBNAILED) == true)
|
||||
{
|
||||
// Get all the thumnails that match the thumbnail name
|
||||
// Get all the thumbnails that match the thumbnail name
|
||||
List<ChildAssociationRef> assocs = this.nodeService.getChildAssocs(node, ContentModel.ASSOC_THUMBNAILS, QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, thumbnailName));
|
||||
for (ChildAssociationRef assoc : assocs)
|
||||
{
|
||||
@@ -384,7 +384,7 @@ public class ThumbnailServiceImpl implements ThumbnailService
|
||||
// Check that the node has the thumbnailed aspect applied
|
||||
if (nodeService.hasAspect(node, ContentModel.ASPECT_THUMBNAILED) == true)
|
||||
{
|
||||
// Get all the thumnails that match the thumbnail name
|
||||
// Get all the thumbnails that match the thumbnail name
|
||||
List<ChildAssociationRef> assocs = this.nodeService.getChildAssocs(node, ContentModel.ASSOC_THUMBNAILS, RegexQNamePattern.MATCH_ALL);
|
||||
for (ChildAssociationRef assoc : assocs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user