{"record":{"id":"d759c85f3f32508e","repo":"octobercms/october","slug":"error-parsing-the-name-attribute-value-e-d759c8","errorCode":null,"errorMessage":"Error parsing the {name} attribute value. {e}","messagePattern":"Error parsing the (.+?) attribute value\\. (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/behaviors/relationcontroller/assets/js/october.relation.js","lineNumber":199,"sourceCode":"        static changed(relationId, event) {\n            $('[data-field-name=\"' + relationId + '\"]').trigger('change.oc.formwidget', { event: event });\n        }\n\n        // @deprecated use oc.popup.bindToPopups\n        static bindToPopups(container, vars) {\n            return oc.popup.bindToPopups(container, vars);\n        }\n    }\n\n    function paramToObj(name, value) {\n        if (value === undefined) value = ''\n        if (typeof value == 'object') return value\n\n        try {\n            return oc.parseJSON(\"{\" + value + \"}\")\n        }\n        catch (e) {\n            throw new Error('Error parsing the '+name+' attribute value. '+e)\n        }\n    }\n\n    oc.registerControl('relation-controller', RelationBehavior);\n\n    oc.relationBehavior = RelationBehavior;\n\n    // @deprecated\n    $.oc.relationBehavior = RelationBehavior;\n\n}(window.jQuery);\n","sourceCodeStart":181,"sourceCodeEnd":211,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/behaviors/relationcontroller/assets/js/october.relation.js#L181-L211","documentation":"Error \"Error parsing the {name} attribute value. {e}\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/behaviors/relationcontroller/assets/js/october.relation.js:199 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"}