{"record":{"id":"260399f3babb12cb","repo":"refinery/refinerycms","slug":"nestedsortable-please-check-the-listtype-option-i","errorCode":null,"errorMessage":"nestedSortable: Please check the listType option is set to your actual list type","messagePattern":"nestedSortable: Please check the listType option is set to your actual list type","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"core/app/assets/javascripts/refinery/nestedsortables.js","lineNumber":35,"sourceCode":"\n\t\toptions: {\n\t\t\ttabSize: 20,\n\t\t\tdisableNesting: 'mjs-nestedSortable-no-nesting',\n\t\t\terrorClass: 'mjs-nestedSortable-error',\n\t\t\tdoNotClear: false,\n\t\t\tlistType: 'ol',\n\t\t\tmaxLevels: 0,\n\t\t\tprotectRoot: false,\n\t\t\trootID: null,\n\t\t\trtl: false,\n\t\t\tisAllowed: function(item, parent) { return true; }\n\t\t},\n\n\t\t_create: function() {\n\t\t\tthis.element.data('sortable', this.element.data('nestedSortable'));\n\n\t\t\tif (!this.element.is(this.options.listType))\n\t\t\t\tthrow new Error('nestedSortable: Please check the listType option is set to your actual list type');\n\n\t\t\treturn $.ui.sortable.prototype._create.apply(this, arguments);\n\t\t},\n\n\t\tdestroy: function() {\n\t\t\tthis.element\n\t\t\t\t.removeData(\"nestedSortable\")\n\t\t\t\t.unbind(\".nestedSortable\");\n\t\t\treturn $.ui.sortable.prototype.destroy.apply(this, arguments);\n\t\t},\n\n\t\t_mouseDrag: function(event) {\n\n\t\t\t//Compute the helpers position\n\t\t\tthis.position = this._generatePosition(event);\n\t\t\tthis.positionAbs = this._convertPositionTo(\"absolute\");\n\n\t\t\tif (!this.lastPositionAbs) {","sourceCodeStart":17,"sourceCodeEnd":53,"githubUrl":"https://github.com/refinery/refinerycms/blob/34438aae76d087246039cd24755187844d796737/core/app/assets/javascripts/refinery/nestedsortables.js#L17-L53","documentation":"Error \"nestedSortable: Please check the listType option is set to your actual list type\" thrown in refinery/refinerycms.","triggerScenarios":"Thrown at core/app/assets/javascripts/refinery/nestedsortables.js:35 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":"34438aae76d087246039cd24755187844d796737","analyzedAt":"2026-08-23T06:03:41.094Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}