Fixed WCM bulkImport's importDirectory

- Was adding the cm:title property to the containing folder instead of the newly created files
 - Since the MLPropertyInterceptor no longer uses the full Locale, this messed up the
   AVM logic.  There will probably be more fallout and the AVM MLText handling still needs fixing.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2011-10-18 23:46:06 +00:00
parent 4df62abcbf
commit 605a45be5c

View File

@@ -638,7 +638,9 @@ public class AssetServiceImpl implements AssetService
createFileAVM(avmPath, fileName, new BufferedInputStream(new FileInputStream(file), BUFFER_SIZE));
addAspect(avmPath, ContentModel.ASPECT_TITLED, titledProps);
String filePath = avmPath + '/' + fileName;
addAspect(filePath, ContentModel.ASPECT_TITLED, titledProps);
}
else
{