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:
Nick Burch
2011-12-08 03:10:24 +00:00
parent 25be40d478
commit bbdf635ce7

View File

@@ -156,7 +156,11 @@ public class PropPatchMethod extends PropFindMethod
break;
case Node.ELEMENT_NODE:
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;
}
}