Change-Id: Iddb2e2ce967f9526c5af85ba9d07da68dcab066d
Reviewed-on: http://gerrit.tine20.com/customers/1374
Tested-by: Jenkins CI (http://ci.tine20.com/)
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
$objectClass = Tinebase_Application::getInstance()->getApplicationById($container->application_id)->name . '_Frontend_WebDAV_Container';
+ if (! class_exists($objectClass)) {
+ throw new \Sabre\DAV\Exception\NotFound("Directory $this->_path/$name not found");
+ }
+
return new $objectClass($container, $this->_useIdAsName);
break;