mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
ALF-10569 Ignore certain SPP set properties which are sometimes sent, but no longer needed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -156,7 +156,11 @@ public class PropPatchMethod extends PropFindMethod
|
|||||||
break;
|
break;
|
||||||
case Node.ELEMENT_NODE:
|
case Node.ELEMENT_NODE:
|
||||||
int action = currentNode.getNodeName().endsWith(WebDAV.XML_SET) ? PropertyAction.SET : PropertyAction.REMOVE;
|
int action = currentNode.getNodeName().endsWith(WebDAV.XML_SET) ? PropertyAction.SET : PropertyAction.REMOVE;
|
||||||
m_propertyActions.add(new PropertyAction(action, createProperty(propNode)));
|
WebDAVProperty prop = createProperty(propNode);
|
||||||
|
if (prop != null)
|
||||||
|
{
|
||||||
|
m_propertyActions.add(new PropertyAction(action, prop));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user