{"record":{"id":"8f97333ecb598af4","repo":"octobercms/october","slug":"backend-lang-list-missing-parent-definition","errorCode":null,"errorMessage":"backend::lang.list.missing_parent_definition","messagePattern":"backend::lang\\.list\\.missing_parent_definition","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/behaviors/ListController.php","lineNumber":344,"sourceCode":"\n        $this->makeLists();\n    }\n\n    /**\n     * index_onDelete bulk deletes records.\n     * @return void\n     */\n    public function index_onDelete()\n    {\n        if (method_exists($this->controller, 'onDelete')) {\n            return call_user_func_array([$this->controller, 'onDelete'], func_get_args());\n        }\n\n        // Establish the list definition\n        $definition = post('definition', $this->primaryDefinition);\n\n        if (!isset($this->listDefinitions[$definition])) {\n            throw new ApplicationException(Lang::get('backend::lang.list.missing_parent_definition', compact('definition')));\n        }\n\n        $this->config = $this->controller->listGetConfig($definition);\n\n        // Check conditions for deletion\n        if (!$this->listCanDeleteRecords()) {\n            throw new ForbiddenException;\n        }\n\n        // Validate checked identifiers\n        $checkedIds = post('checked');\n\n        if (!$checkedIds || !is_array($checkedIds) || !count($checkedIds)) {\n            Flash::error(Lang::get('backend::lang.list.delete_selected_empty'));\n            return $this->controller->listRefresh();\n        }\n\n        // Create the model","sourceCodeStart":326,"sourceCodeEnd":362,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/behaviors/ListController.php#L326-L362","documentation":"Error \"backend::lang.list.missing_parent_definition\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/behaviors/ListController.php:344 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":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}