Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

0012664: For some users, CalDAV replies with "Folder not found" #6267

Open
Gloirin opened this issue Jun 9, 2018 · 1 comment
Open

0012664: For some users, CalDAV replies with "Folder not found" #6267

Gloirin opened this issue Jun 9, 2018 · 1 comment
Labels
Bug CalDAV Mantis Migrated from old Mantis bugtracker forge.tine20.org

Comments

@Gloirin
Copy link
Contributor

Gloirin commented Jun 9, 2018

Reported by marosh on 16 Feb 2017 11:19

Version: 2016.09.7 Community Edition

Calling "<domain>/calendars" in the browser (and possibly other clients) replies with "Folder not found" error for some users and others not.

FIX:
Change function call in
Tinebase/WebDav/Collection/AbstractContainerTree.php
near line 765/767 to

$contact = Addressbook_Controller_Contact::getInstance()->get($_id, NULL, false);

Additional information: 18cc0 mfe - 2017-02-16T11:06:31+00:00 ERR (3): Tinebase_Exception_NotFound: No Application Controller found (checked class Projects_Controller_Project)! in /var/www/example.com/mail/Tinebase/Core.php:394
Stack trace:
#0 /var/www/example.com/mail/Tinebase/Relations.php(590): Tinebase_Core::getApplicationInstance('Projects_Model_...')
#1 /var/www/example.com/mail/Tinebase/Relations.php(404): Tinebase_Relations->resolveAppRecords(Object(Tinebase_Record_RecordSet), false)
#2 /var/www/example.com/mail/Tinebase/Controller/Record/Abstract.php(509): Tinebase_Relations->getRelations('Addressbook_Mod...', 'Sql', '767ff98a4ff711e...')
#3 /var/www/example.com/mail/Tinebase/Controller/Record/Abstract.php(464): Tinebase_Controller_Record_Abstract->_getRelatedData(Object(Addressbook_Model_Contact))
#4 /var/www/example.com/mail/Tinebase/WebDav/Collection/AbstractContainerTree.php(766): Tinebase_Controller_Record_Abstract->get('767ff98a4ff711e...')
#5 /var/www/example.com/mail/Tinebase/WebDav/Collection/AbstractContainerTree.php(141): Tinebase_WebDav_Collection_AbstractContainerTree->_getUser('767ff98a4ff711e...')
#6 /var/www/example.com/mail/Calendar/Frontend/WebDAV.php(68): Tinebase_WebDav_Collection_AbstractContainerTree->getChild('767ff98a4ff711e...')
#7 /var/www/example.com/mail/Tinebase/WebDav/Collection/AbstractContainerTree.php(295): Calendar_Frontend_WebDAV->getChild('767ff98a4ff711e...')
#8 /var/www/example.com/mail/Calendar/Frontend/WebDAV.php(77): Tinebase_WebDav_Collection_AbstractContainerTree->getChildren()
#9 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/ObjectTree.php(117): Calendar_Frontend_WebDAV->getChildren()
#10 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/Server.php(1478): Sabre\DAV\ObjectTree->getChildren('calendars')
#11 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/Browser/Plugin.php(252): Sabre\DAV\Server->getPropertiesForPath('calendars', Array, 1)
#12 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/Browser/Plugin.php(137): Sabre\DAV\Browser\Plugin->generateDirectoryIndex('calendars')
#13 [internal function]: Sabre\DAV\Browser\Plugin->httpGetInterceptor('GET', 'calendars')
#14 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/Server.php(433): call_user_func_array(Array, Array)
#15 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/Server.php(455): Sabre\DAV\Server->broadcastEvent('beforeMethod', Array)
#16 /var/www/example.com/mail/vendor/sabre/dav/lib/Sabre/DAV/Server.php(214): Sabre\DAV\Server->invokeMethod('GET', 'calendars')
#17 /var/www/example.com/mail/Tinebase/Server/WebDAV.php(156): Sabre\DAV\Server->exec()
#18 /var/www/example.com/mail/Tinebase/Core.php(230): Tinebase_Server_WebDAV->handle(Object(Zend\Http\PhpEnvironment\Request))
#19 /var/www/example.com/mail/index.php(18): Tinebase_Core::dispatchRequest()
#20 {main}

@Gloirin Gloirin added Bug CalDAV Mantis Migrated from old Mantis bugtracker forge.tine20.org labels Jun 9, 2018
@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 11, 2018

Comment posted by pschuele on 16 Feb 2017 14:22

problem was an old projects relation while the projects app is no longer available. this should be fixed in Tinebase_Relations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug CalDAV Mantis Migrated from old Mantis bugtracker forge.tine20.org
Projects
None yet
Development

No branches or pull requests

1 participant