View Issue Details

IDProjectCategoryView StatusLast Update
0013708Tine 2.0WebDAVpublic2018-01-21 03:11
Reporterlab-at-nohlAssigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version2017.08.11 Community Edition 
Target VersionFixed in Version 
Summary0013708: Hidden groups break webdav due to missing
DescriptionIf user is member of a group which has set visibility to "do not show in address book" calDAV folder detection breaks (curiosity: you would rather expect cardDAV to be affected, but it isn't).
Steps To ReproduceTry to add new account with davdroid on Android. Switch visibility on or off.
Additional Information4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1165 given localeString 'auto'
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1192 Try to detect the locale of the user (browser, environment, default)
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Translation::getLocale::199 given localeString 'auto'
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Translation::getLocale::211 'de_DE' is not supported, checking fallback
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Translation::getLocale::237 selected locale: 'de'
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::1206 Saving locale: de
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Preference_Abstract::setValueForUser::481 Updated: locale for user 3173a20e-6c19-1034-948b-17a0cca20f00 -> de
4e91b testuser - 2018-01-21T01:59:13+00:00 INFO (6): Tinebase_Core::setupUserLocale::1216 Setting user locale: de
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Preference_Abstract::getValueForUser::287 Get value for timezone of account id 3173a20e-6c19-1034-948b-17a0cca20f00 / user
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Core::setupUserTimezone::1265 User timezone: Europe/Berlin
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Auth_CredentialCache::setCacheAdapter::117 Using credential cache adapter: Tinebase_Auth_CredentialCache_Adapter_Cookie
4e91b testuser - 2018-01-21T01:59:13+00:00 INFO (6): Tinebase_Server_WebDAV::handle::97 Starting to handle WebDAV request (requestUri:/principals/users/74/ PID: 11654)
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Server_WebDAV::handle::108 headers: Array
(
    [accept-language] => de-DE, de;q=0.7, *;q=0.5
    [user-agent] => DAVdroid/1.9.7-ose (2017/12/24; dav4android; okhttp3) Android/7.1.1
    [accept-encoding] => gzip
    [connection] => Keep-Alive
    [host] => testtine.de
    [content-length] => 360
    [content-type] => application/xml; charset=utf-8
    [depth] => 0
)

4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Server_WebDAV::handle::111 requestContentType: application/xml; charset=utf-8 requestMethod: PROPFIND
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Server_WebDAV::handle::120 <<< *DAV request
<?xml version='1.0' encoding='UTF-8' ?><propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav"><prop><CAL:calendar-home-set /><n0:calendar-proxy-read-for xmlns:n0="http://calendarserver.org/ns/" /><n1:calendar-proxy-write-for xmlns:n1="http://calendarserver.org/ns/" /><group-membership /></prop></propfind>
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Server_WebDAV::handle::178 SyncTokenSupport enabled
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::checkFilterACL::2086 Force a standard containerFilter (specialNode = all) as ACL filter.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::400 Using application name is deprecated. Please use the classname of the model or the class itself.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::getContainerByACL::459 app: Addressbook / account: testuser / grant:readGrant/adminGrant
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Addressbook_Model_ContactHiddenFilter::appendFilterSql::41 Query account contacts (hide if status = disabled)
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::search::245 Got 1 search results of Addressbook_Model_Contact
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::checkFilterACL::2086 Force a standard containerFilter (specialNode = all) as ACL filter.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::400 Using application name is deprecated. Please use the classname of the model or the class itself.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::getContainerByACL::459 app: Addressbook / account: testuser / grant:readGrant/adminGrant
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::search::245 Got 1 search results of Addressbook_Model_List
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::checkFilterACL::2086 Force a standard containerFilter (specialNode = all) as ACL filter.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::400 Using application name is deprecated. Please use the classname of the model or the class itself.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::getContainerByACL::459 app: Addressbook / account: testuser / grant:readGrant/adminGrant
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Addressbook_Model_ContactHiddenFilter::appendFilterSql::41 Query account contacts (hide if status = disabled)
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::search::245 Got 18 search results of Addressbook_Model_Contact
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Addressbook_Controller_List::_removeHiddenListMembers::135 Found 6 hidden members, removing them
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::checkFilterACL::2086 Force a standard containerFilter (specialNode = all) as ACL filter.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::400 Using application name is deprecated. Please use the classname of the model or the class itself.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::getContainerByACL::459 app: Addressbook / account: testuser / grant:readGrant/adminGrant
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::search::245 Got 0 search results of Addressbook_Model_List
4e91b testuser - 2018-01-21T01:59:13+00:00 NOTICE (5): Tinebase_WebDav_PrincipalBackend::getPrincipalByPath::176 Group/list principal does not exist: e3524b6e4842f4cd764076d058bdbedea66caa19
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::checkFilterACL::2086 Force a standard containerFilter (specialNode = all) as ACL filter.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::_resolveRecordClassArgument::400 Using application name is deprecated. Please use the classname of the model or the class itself.
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Container::getContainerByACL::459 app: Addressbook / account: testuser / grant:readGrant/adminGrant
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Controller_Record_Abstract::search::245 Got 0 search results of Addressbook_Model_List
4e91b testuser - 2018-01-21T01:59:13+00:00 NOTICE (5): Tinebase_WebDav_PrincipalBackend::getPrincipalByPath::176 Group/list principal does not exist: e3524b6e4842f4cd764076d058bdbedea66caa19
4e91b testuser - 2018-01-21T01:59:13+00:00 DEBUG (7): Tinebase_Server_WebDAV::handle::199 >>> *DAV response:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\NotFound</s:exception>
  <s:message>Principal with name e3524b6e4842f4cd764076d058bdbedea66caa19 not found</s:message>
  <s:file>/srv/vendor/sabre/dav/lib/Sabre/DAVACL/AbstractPrincipalCollection.php</s:file>
  <s:line>116</s:line>
  <s:code>0</s:code>
  <s:stacktrace>#0 /srv/vendor/sabre/dav/lib/Sabre/DAV/ObjectTree.php(72): Sabre\DAVACL\AbstractPrincipalCollection->getChild('e3524b6e4842f4c...')
#1 /srv/vendor/sabre/dav/lib/Sabre/CalDAV/Plugin.php(380): Sabre\DAV\ObjectTree->getNodeForPath('principals/grou...')
0000002 [internal function]: Sabre\CalDAV\Plugin->beforeGetProperties('principals/user...', Object(Tinebase_WebDav_Principal), Array, Array)
#3 /srv/vendor/sabre/dav/lib/Sabre/DAV/Server.php(433): call_user_func_array(Array, Array)
0000004 /srv/vendor/sabre/dav/lib/Sabre/DAV/Server.php(1519): Sabre\DAV\Server->broadcastEvent('beforeGetProper...', Array)
#5 /srv/vendor/sabre/dav/lib/Sabre/DAV/Server.php(723): Sabre\DAV\Server->getPropertiesForPath('principals/user...', Array, 0)
#6 [internal function]: Sabre\DAV\Server->httpPropfind('principals/user...')
#7 /srv/vendor/sabre/dav/lib/Sabre/DAV/Server.php(474): call_user_func(Array, 'principals/user...')
0000008 /srv/vendor/sabre/dav/lib/Sabre/DAV/Server.php(214): Sabre\DAV\Server->invokeMethod('PROPFIND', 'principals/user...')
#9 /srv/Tinebase/Server/WebDAV.php(196): Sabre\DAV\Server->exec()
0000010 /srv/Tinebase/Core.php(260): Tinebase_Server_WebDAV->handle(Object(Zend\Http\PhpEnvironment\Request))
#11 /srv/index.php(24): Tinebase_Core::dispatchRequest()
0000012 {main}</s:stacktrace>
</d:error>

4e91b testuser - 2018-01-21T01:59:13+00:00 INFO (6): index.php (31) METHOD: Tinebase_Server_WebDAV::PROPFIND / TIME: 589ms / Memory usage: 2 MB / Real patch cache size: 144114 / PID: 11654
TagsNo tags attached.
mwticket

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-01-21 03:11 lab-at-nohl New Issue