mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed more nested transactionally wrapped call problems. I'm not happy with this
as a solution. It should hold water for a while. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3741 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -77,7 +77,7 @@ public class OutputUtil
|
||||
nodeService.getProperty(caf.getParentRef(), ContentModel.PROP_NAME);
|
||||
LOGGER.debug("computed avm path " + PARENT_AVM_PATH + "/" + parentName);
|
||||
final String result = PARENT_AVM_PATH + "/" + parentName;
|
||||
AVMService avmService = AVMContext.fgInstance.getAVMService();
|
||||
AVMService avmService = (AVMService)AVMContext.fgInstance.fAppContext.getBean("avmService");
|
||||
try
|
||||
{
|
||||
avmService.lookup(-1, result);
|
||||
@@ -138,7 +138,7 @@ public class OutputUtil
|
||||
fileNodeRef.toString());
|
||||
}
|
||||
|
||||
AVMService avmService = AVMContext.fgInstance.getAVMService();
|
||||
AVMService avmService = (AVMService)AVMContext.fgInstance.fAppContext.getBean("avmService");
|
||||
final String parentAVMPath = getAVMParentPath(createdNode, nodeService);
|
||||
try
|
||||
{
|
||||
@@ -204,7 +204,7 @@ public class OutputUtil
|
||||
|
||||
LOGGER.debug("generated " + fileName + " using " + tom);
|
||||
|
||||
AVMService avmService = AVMContext.fgInstance.getAVMService();
|
||||
AVMService avmService = (AVMService)AVMContext.fgInstance.fAppContext.getBean("avmService");
|
||||
final String parentAVMPath = getAVMParentPath(nodeRef, nodeService);
|
||||
try
|
||||
{
|
||||
|
Reference in New Issue
Block a user