exoplatform/ecms — pull request #738 by ttthanh (2014-10-23 09:05:21+00:00)
Title: ECMS-6474: [Webdav - Windows] NPE and redundant comment when uploading a...

... file via webdav of windows

Problem analysis
- FILE_CREATED_ACTIVITY event is fired when updating node in webdav
- FILE_EDIT_ACTIVITY event is fired when uploading file in windows webdav. This behavior is caused by specification of this type of webdav. The PUT action is called twice to create empty file then update content.

Fix description
- Only fire FILE_CREATED_ACTIVITY event when uploading file.
- Do not fire FILE_EDIT_ACTIVITY event when uploading file by webdav in windows.