{"record":{"id":"60fae80cd1d4a2d4","repo":"octobercms/october","slug":"the-oc-table-validator-namespace-is-not-defined","errorCode":null,"errorMessage":"The $.oc.table.validator namespace is not defined. Make sure that the table.validator.base.js script is loaded.","messagePattern":"The \\$\\.oc\\.table\\.validator namespace is not defined\\. Make sure that the table\\.validator\\.base\\.js script is loaded\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/table/assets/js/table.validator.basenumber.js","lineNumber":13,"sourceCode":"/*\n * Base class for number validators.\n */\n+function ($) { \"use strict\";\n\n    // NAMESPACE CHECK\n    // ============================\n\n    if ($.oc.table === undefined)\n        throw new Error(\"The $.oc.table namespace is not defined. Make sure that the table.js script is loaded.\");\n\n    if ($.oc.table.validator === undefined)\n        throw new Error(\"The $.oc.table.validator namespace is not defined. Make sure that the table.validator.base.js script is loaded.\");\n\n    // CLASS DEFINITION\n    // ============================\n\n    var Base = $.oc.table.validator.base,\n        BaseProto = Base.prototype\n\n    var BaseNumber = function(options) {\n        Base.call(this, options)\n    };\n\n    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)","sourceCodeStart":1,"sourceCodeEnd":31,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/table/assets/js/table.validator.basenumber.js#L1-L31","documentation":"Error \"The $.oc.table.validator namespace is not defined. Make sure that the table.validator.base.js script is loaded.\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/widgets/table/assets/js/table.validator.basenumber.js:13 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"}