{"record":{"id":"a37f6968c2fd5fb9","repo":"octobercms/october","slug":"missing-content-uuid-set-the-attribute-blueprint","errorCode":null,"errorMessage":"Missing content UUID. Set the attribute 'blueprint_uuid' on the model first.","messagePattern":"Missing content UUID\\. Set the attribute 'blueprint_uuid' on the model first\\.","errorType":"exception","errorClass":"SystemException","httpStatus":null,"severity":"error","filePath":"modules/tailor/classes/BlueprintModel.php","lineNumber":99,"sourceCode":"         * Example usage:\n         *\n         *     $model->bindEvent('model.extendBlueprint', function (string $uuid) use (\\October\\Rain\\Database\\Model $model) {\n         *         // Apply specific uuid actions\n         *         $model->add_status_to_history = true;\n         *     });\n         *\n         */\n        $this->fireEvent('model.extendBlueprint', [$uuid]);\n    }\n\n    /**\n     * getBlueprintUuid\n     */\n    public function getBlueprintUuid(): string\n    {\n        $uuid = $this->blueprint_uuid;\n        if (!$uuid) {\n            throw new SystemException(\"Missing content UUID. Set the attribute 'blueprint_uuid' on the model first.\");\n        }\n\n        return $uuid;\n    }\n\n    /**\n     * setBlueprintUuid\n     */\n    public function setBlueprintUuid($value)\n    {\n        $this->blueprint_uuid = $value;\n    }\n\n    /**\n     * getBlueprintGroupAttribute\n     */\n    public function getBlueprintGroupAttribute(): ?string\n    {","sourceCodeStart":81,"sourceCodeEnd":117,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/tailor/classes/BlueprintModel.php#L81-L117","documentation":"Error \"Missing content UUID. Set the attribute 'blueprint_uuid' on the model first.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/tailor/classes/BlueprintModel.php:99 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"}