{"record":{"id":"e9b90e14ee700b47","repo":"octobercms/october","slug":"cannot-find-editor-for-property-property","errorCode":null,"errorMessage":"Cannot find editor for property ${property}","messagePattern":"Cannot find editor for property (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/assets/foundation/controls/inspector/inspector.surface.js","lineNumber":890,"sourceCode":"                value = externalParameterEditor.getValue()\n                value = '{{ ' + value + ' }}'\n            }\n\n            result[property.property] = value\n        }\n\n        return result\n    }\n\n    Surface.prototype.getValidValues = function() {\n        var allValues = this.getValues(),\n            result = {}\n\n        for (var property in allValues) {\n            var editor = this.findPropertyEditor(property)\n\n            if (!editor) {\n                throw new Error('Cannot find editor for property ' + property)\n            }\n\n            var externalEditor = this.findExternalParameterEditor(property)\n            if (externalEditor && externalEditor.isEditorVisible() && !externalEditor.validate(true)) {\n                result[property] = $.oc.inspector.invalidProperty\n                continue\n            }\n\n            if (!editor.validate(true)) {\n                result[property] = $.oc.inspector.invalidProperty\n                continue\n            }\n\n            result[property] = allValues[property]\n        }\n\n        return result\n    }","sourceCodeStart":872,"sourceCodeEnd":908,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/assets/foundation/controls/inspector/inspector.surface.js#L872-L908","documentation":"getValidValues iterates collected property values and requires a matching editor for each via findPropertyEditor; a null result means the values map contains a property with no editor in the current surface — internal state is inconsistent (property removed/renamed while values remain).","triggerScenarios":"Thrown at modules/backend/assets/foundation/controls/inspector/inspector.surface.js:890 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure property names in the configuration match those rendered by the surface (no renames after values are collected)","Refresh/rebuild the surface so its editors and value map stay in sync","Guard external/removed properties so they don't linger in the values object"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","contentChangedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}