mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-2620: Fixed problem with the paths being used in rendition path template model. "cwd" is now a file/display path and "companyHome" is a TemplateNode.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -597,7 +597,7 @@ public class RenditionServiceIntegrationTest extends BaseAlfrescoSpringTest
|
||||
RenditionDefinition definition = makeReformatAction(ContentModel.TYPE_CONTENT,
|
||||
MimetypeMap.MIMETYPE_TEXT_PLAIN);
|
||||
Serializable targetFolderName = nodeService.getProperty(testTargetFolder, ContentModel.PROP_NAME);
|
||||
String path = "${companyHome}/" + targetFolderName +"/test.txt";
|
||||
String path = "${companyHome.name}/" + targetFolderName +"/test.txt";
|
||||
definition.setParameterValue(RenditionService.PARAM_DESTINATION_PATH_TEMPLATE, path);
|
||||
|
||||
// Perform the action with an explicit destination folder
|
||||
|
Reference in New Issue
Block a user