I'm experiencing different behaviors from the WebDAV and AOS protocols when trying to upload a file to Alfresco Community 6.1.2 (having the alfresco-aos-module-1.2.2.amp and the _vti_bin.war installed). When uploading a file using the HTTP PUT verb everything works fine in the WebDAV case:
The HTTP status code looks fine (201), and the file is actually created in the document library, but there is no content in the file (i.e. its size is marked as 0 bytes) and the following error is seen in the logs:
2019-05-09 09:46:02,074 ERROR [aosmodule.vfs.DocumentNode] [http-nio-8080-exec-6] Error writing content. org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/fe671785-d825-4699-b9e6-4984e8d3c139 (status:null) at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodePairNotNull(DbNodeServiceImpl.java:187) at org.alfresco.repo.node.db.DbNodeServiceImpl.hasAspect_aroundBody38(DbNodeServiceImpl.java:1015) at org.alfresco.repo.node.db.DbNodeServiceImpl$AjcClosure39.run(DbNodeServiceImpl.java:1)
Any idea on what the problem could be?
(other requests (MKCOL, GET, DELETE) work fine in both the WebDAV and AOS case)