{"record":{"id":"4ef03b858ad5b1e5","repo":"octobercms/october","slug":"the-max-value-parameter-is-not-defined-in-the-tabl-4ef03b","errorCode":null,"errorMessage":"The max.value parameter is not defined in the table validator configuration","messagePattern":"The max\\.value parameter is not defined in the table validator configuration","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/table/assets/js/table.validator.basenumber.js","lineNumber":43,"sourceCode":"    BaseNumber.prototype = Object.create(BaseProto)\n    BaseNumber.prototype.constructor = BaseNumber\n\n    BaseNumber.prototype.doCommonChecks = function(value) {\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 table validator configuration')\n\n                if (value < this.options.min.value) {\n                    return this.options.min.message !== undefined ?\n                        this.options.min.message :\n                        \"The value should not be less 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 table validator configuration')\n\n                if (value > this.options.max.value) {\n                    return this.options.max.message !== undefined ?\n                        this.options.max.message :\n                        \"The value should not be more than \" + this.options.max.value\n                }\n            }\n        }\n\n        return\n    }\n\n    $.oc.table.validator.baseNumber = BaseNumber\n}(window.jQuery);","sourceCodeStart":25,"sourceCodeEnd":57,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/table/assets/js/table.validator.basenumber.js#L25-L57","documentation":"Configuration guard in doCommonChecks: a max block is present in the validator options but has no value key, so the upper-bound comparison cannot run. The column's validation config defines max without max.value.","triggerScenarios":"Thrown at modules/backend/widgets/table/assets/js/table.validator.basenumber.js:43 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Add the value key to the max entry (e.g. max: { value: 100, message: '...' })","Optionally set max.message for a custom message","Check the column validation YAML for incomplete max definition"],"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"}