mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
MNT-18340: no longer ignores property updates for "unrelated" aspect removal
https://issues.alfresco.com/jira/browse/MNT-18340
This commit is contained in:
@@ -3213,13 +3213,6 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
|||||||
for(QName aspectQName : aspectsToRemove)
|
for(QName aspectQName : aspectsToRemove)
|
||||||
{
|
{
|
||||||
nodeService.removeAspect(nodeRef, aspectQName);
|
nodeService.removeAspect(nodeRef, aspectQName);
|
||||||
// aspect is being removed so remove all of its properties from the propsToAdd map
|
|
||||||
TypeDefinitionWrapper w = getOpenCMISDictionaryService().findNodeType(aspectQName);
|
|
||||||
for(PropertyDefinitionWrapper wr : w.getProperties())
|
|
||||||
{
|
|
||||||
String propertyId = wr.getPropertyId();
|
|
||||||
propsToAdd.remove(propertyId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// add aspects and properties
|
// add aspects and properties
|
||||||
|
Reference in New Issue
Block a user