{"record":{"id":"b5a5309424a9998e","repo":"octobercms/october","slug":"treeview-branch-in-list-mode-cannot-have-the-group","errorCode":null,"errorMessage":"Treeview branch in LIST mode cannot have the groupBy property set. Node path: {}","messagePattern":"Treeview branch in LIST mode cannot have the groupBy property set\\. Node path: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/vuecomponents/treeview/assets/js/node.js","lineNumber":753,"sourceCode":"        this.menuButtonId = $.oc.domIdManager.generate('treeview-menu-button');\n        this.menuLabelId = $.oc.domIdManager.generate('treeview-menu-label');\n\n        if (this.dragAndDropSortable && this.branchSortBy) {\n            throw new Error(\n                'Nodes belonging to branches with SORT drag and drop option cannot be sortable using the sortBy option. Node path: ' +\n                this.keyPathString\n            );\n        }\n\n        if (this.dragAndDropMovable && this.branchDisplayMode == 'list') {\n            throw new Error(\n                'Treeview branch in LIST mode cannot have the MOVE drag and drop option enabled. Node path: ' +\n                this.keyPathString\n            );\n        }\n\n        if (this.branchGroupBy && this.branchDisplayMode !== 'list') {\n            throw new Error(\n                'Treeview branch in LIST mode cannot have the groupBy property set. Node path: ' + this.keyPathString\n            );\n        }\n\n        if (this.branchDragAndDropMode && this.branchGroupBy) {\n            throw new Error(\n                'Treeview drag and drop is not supported for branches with enabled groupBy option. Node path: ' +\n                this.keyPathString\n            );\n        }\n    }\n};\n","sourceCodeStart":735,"sourceCodeEnd":766,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/vuecomponents/treeview/assets/js/node.js#L735-L766","documentation":"Error \"Treeview branch in LIST mode cannot have the groupBy property set. Node path: {}\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/backend/vuecomponents/treeview/assets/js/node.js:753 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"}