mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged BRANCHES/DEV/V3.4-BUG-FIX to HEAD:
23654: Fix for ALF-5359: System error after open Summary page of Regenerate Renditions Wizard 24757: Merged BRANCHES/V3.4 to BRANCHES/DEV/V3.4-BUG-FIX: 24756: Fix for ALF-6269: WebForm (Edit Web Content Wizard) ERROR on Alfresco Community Edition 3.4.b and 3.4.c 23964: Re-implemented fix for ALF-5783: Not possible to override the output path pattern anymore when a webform is edited for a specific website git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24770 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -234,18 +234,18 @@ public class EditWebContentWizard extends CreateWebContentWizard
|
||||
if (rr.getLockOwner() != null)
|
||||
{
|
||||
this.existingLocks.add(path);
|
||||
}
|
||||
|
||||
String renditionStoreId = AVMUtil.getStoreId(path);
|
||||
String renditionStorePath = AVMUtil.getStoreRelativePath(path);
|
||||
String renditionStoreName = AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(path));
|
||||
Map<String, String> renditionlockData = this.getAvmLockingService().getLockData(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path));
|
||||
renditionlockData.put(WCMUtil.LOCK_KEY_STORE_NAME, renditionStoreName);
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("transferring lock for " + path + " back to " + renditionStoreName);
|
||||
|
||||
this.getAvmLockingService().modifyLock(renditionStoreId, renditionStorePath, lockOwner, renditionStoreId, renditionStorePath, renditionlockData);
|
||||
String renditionStoreId = AVMUtil.getStoreId(path);
|
||||
String renditionStorePath = AVMUtil.getStoreRelativePath(path);
|
||||
String renditionStoreName = AVMUtil.getCorrespondingMainStoreName(AVMUtil.getStoreName(path));
|
||||
Map<String, String> renditionlockData = this.getAvmLockingService().getLockData(AVMUtil.getStoreId(path), AVMUtil.getStoreRelativePath(path));
|
||||
renditionlockData.put(WCMUtil.LOCK_KEY_STORE_NAME, renditionStoreName);
|
||||
|
||||
if (logger.isDebugEnabled())
|
||||
logger.debug("transferring lock for " + path + " back to " + renditionStoreName);
|
||||
|
||||
this.getAvmLockingService().modifyLock(renditionStoreId, renditionStorePath, lockOwner, renditionStoreId, renditionStorePath, renditionlockData);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user