{"record":{"id":"83a46727a96b0153","repo":"nextcloud/server","slug":"calendar-object-not-found-83a467","errorCode":null,"errorMessage":"Calendar object not found","messagePattern":"Calendar object not found","errorType":"http","errorClass":"NotFound","httpStatus":404,"severity":"error","filePath":"apps/dav/lib/CalDAV/Calendar.php","lineNumber":288,"sourceCode":"\t\t\t!$this->useTrashbin\n\t\t);\n\t}\n\n\t#[\\Override]\n\tpublic function propPatch(PropPatch $propPatch) {\n\t\t// parent::propPatch will only update calendars table\n\t\t// if calendar is shared, changes have to be made to the properties table\n\t\tif (!$this->isShared()) {\n\t\t\tparent::propPatch($propPatch);\n\t\t}\n\t}\n\n\t#[\\Override]\n\tpublic function getChild($name) {\n\t\t$obj = $this->caldavBackend->getCalendarObject($this->calendarInfo['id'], $name, $this->getCalendarType());\n\n\t\tif (!$obj) {\n\t\t\tthrow new NotFound('Calendar object not found');\n\t\t}\n\n\t\tif ($obj['classification'] === CalDavBackend::CLASSIFICATION_PRIVATE && $this->isShared()) {\n\t\t\tthrow new NotFound('Calendar object not found');\n\t\t}\n\n\t\t$obj['acl'] = $this->getChildACL();\n\n\t\treturn new CalendarObject($this->caldavBackend, $this->l10n, $this->calendarInfo, $obj);\n\t}\n\n\t#[\\Override]\n\tpublic function getChildren() {\n\t\t$objs = $this->caldavBackend->getCalendarObjects($this->calendarInfo['id'], $this->getCalendarType());\n\t\t$children = [];\n\t\tforeach ($objs as $obj) {\n\t\t\tif ($obj['classification'] === CalDavBackend::CLASSIFICATION_PRIVATE && $this->isShared()) {\n\t\t\t\tcontinue;","sourceCodeStart":270,"sourceCodeEnd":306,"githubUrl":"https://github.com/nextcloud/server/blob/ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3/apps/dav/lib/CalDAV/Calendar.php#L270-L306","documentation":"Error \"Calendar object not found\" thrown in nextcloud/server.","triggerScenarios":"Thrown at apps/dav/lib/CalDAV/Calendar.php:288 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"ecdeb153ffdf227235c9a7e2d13dbe0f9c817bc3","analyzedAt":"2026-08-17T01:36:13.386Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}