{"record":{"id":"50a5219f24ba52a5","repo":"octobercms/october","slug":"error-parsing-the-name-attribute-value-e-50a521","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/assets/js/backend/backend.ajax.js","lineNumber":48,"sourceCode":"    const $form = $el.closest('form');\n    if (!$form || !$form.dataset || !$form.dataset.requestParentForm) {\n        return;\n    }\n\n    var paramToObj = function(name, value) {\n        if (value === undefined) {\n            value = '';\n        }\n\n        if (typeof value == 'object') {\n            return value;\n        }\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    var elementParents = function(element, selector) {\n        const parents = [];\n        if (!element.parentNode) {\n            return parents;\n        }\n\n        let ancestor = element.parentNode.closest(selector);\n        while (ancestor) {\n            parents.push(ancestor);\n            ancestor = ancestor.parentNode.closest(selector);\n        }\n\n        return parents;\n    }\n","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/assets/js/backend/backend.ajax.js#L30-L66","documentation":"Error \"Error parsing the ${name} attribute value. ${e}\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/assets/js/backend/backend.ajax.js:48 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"}