mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-11177: "Cannot access folder where link for content is created via CMIS Workbench"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@37321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -687,7 +687,7 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
}
|
||||
return isEnabled;
|
||||
}
|
||||
|
||||
|
||||
public StoreRef getRootStoreRef()
|
||||
{
|
||||
return getRootNodeRef().getStoreRef();
|
||||
@@ -1609,8 +1609,15 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
continue;
|
||||
}
|
||||
|
||||
result.add(createCMISObject(createNodeInfo(assocRef), null, false, IncludeRelationships.NONE,
|
||||
RENDITION_NONE, false, false));
|
||||
try
|
||||
{
|
||||
result.add(createCMISObject(createNodeInfo(assocRef), null, false, IncludeRelationships.NONE,
|
||||
RENDITION_NONE, false, false));
|
||||
}
|
||||
catch(CmisObjectNotFoundException e)
|
||||
{
|
||||
// ignore objects that have not been found (perhaps because their type is unknown to CMIS)
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
@@ -1676,9 +1683,16 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
max--;
|
||||
if (max > 0)
|
||||
{
|
||||
result.getObjects().add(
|
||||
createCMISObject(createNodeInfo(assocRef), filter, includeAllowableActions,
|
||||
IncludeRelationships.NONE, RENDITION_NONE, false, false));
|
||||
try
|
||||
{
|
||||
result.getObjects().add(
|
||||
createCMISObject(createNodeInfo(assocRef), filter, includeAllowableActions,
|
||||
IncludeRelationships.NONE, RENDITION_NONE, false, false));
|
||||
}
|
||||
catch(CmisObjectNotFoundException e)
|
||||
{
|
||||
// ignore objects that have not been found (perhaps because their type is unknown to CMIS)
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user