{"record":{"id":"220331a8de89db3b","repo":"octobercms/october","slug":"the-min-value-parameter-is-not-defined-in-the-leng-220331","errorCode":null,"errorMessage":"The min.value parameter is not defined in the Length table validator configuration","messagePattern":"The min\\.value parameter is not defined in the Length table validator configuration","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/table/assets/js/table.validator.length.js","lineNumber":43,"sourceCode":"    Length.prototype = Object.create(BaseProto)\n    Length.prototype.constructor = Length\n\n    /*\n     * Validates a value and returns the error message. If there\n     * are no errors, returns undefined.\n     * The rowData parameter is an object containing all values in the\n     * target row.\n     */\n    Length.prototype.validateValue = function(value, rowData) {\n        value = this.trim(value)\n\n        if (value.length == 0)\n            return\n\n        if (this.options.min !== undefined || this.options.max !== undefined) {\n            if (this.options.min !== undefined) {\n                if (this.options.min.value === undefined)\n                    throw new Error('The min.value parameter is not defined in the Length table validator configuration')\n\n                if (value.length < this.options.min.value) {\n                    return this.options.min.message !== undefined ?\n                        this.options.min.message :\n                        \"The string should not be shorter than \" + this.options.min.value\n                }\n            }\n\n            if (this.options.max !== undefined) {\n                if (this.options.max.value === undefined)\n                    throw new Error('The max.value parameter is not defined in the Length table validator configuration')\n\n                if (value.length > this.options.max.value) {\n                    return this.options.max.message !== undefined ?\n                        this.options.max.message :\n                        \"The string should not be longer than \" + this.options.max.value\n                }\n            }","sourceCodeStart":25,"sourceCodeEnd":61,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/table/assets/js/table.validator.length.js#L25-L61","documentation":"Error \"The min.value parameter is not defined in the Length table validator configuration\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/widgets/table/assets/js/table.validator.length.js:43 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"}