CMS-1723 Locking of WebDav resources not working

The lock properties was not set.