mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Thumbnail Service and Upload: thumbnails now refresh when new content is uploaded, content mime is not reset to binary when new content is checked in
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -248,10 +248,14 @@ public class ThumbnailServiceImpl implements ThumbnailService
|
||||
{
|
||||
throw new ThumbnailException(ERR_NO_PARENT);
|
||||
}
|
||||
else if (parents.size() != 1)
|
||||
{
|
||||
throw new ThumbnailException(ERR_TOO_PARENT);
|
||||
}
|
||||
// TODO
|
||||
// When a node with thumbnails is checked in the assoc's get doubled up. This means we get more than one parent.
|
||||
// As a work around simply take the first parent retrieved
|
||||
//
|
||||
//else if (parents.size() != 1)
|
||||
//{
|
||||
// throw new ThumbnailException(ERR_TOO_PARENT);
|
||||
//}
|
||||
else
|
||||
{
|
||||
node = parents.get(0).getParentRef();
|
||||
|
Reference in New Issue
Block a user