mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -637,8 +637,10 @@ public class AssetServiceImpl implements AssetService
|
||||
titledProps.put(ContentModel.PROP_TITLE, fileName);
|
||||
|
||||
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
|
||||
{
|
||||
|
Reference in New Issue
Block a user