octobercms/october · error · Error
Treeview drag and drop is not supported for branches with…
Error message
Treeview drag and drop is not supported for branches with enabled groupBy option. Node path: {} What it means
Validation in the treeview node component rejecting any combination of drag and drop with a branch that has the groupBy option enabled. Grouped branches aggregate child nodes into group headers, which makes drag-and-drop ordering impossible, so the component throws at mount time rather than render a broken tree.
Solutions
- Disable all drag and drop options (sortable/movable) on branches that use groupBy
- Remove the groupBy property from branches that need drag and drop support
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at modules/backend/vuecomponents/treeview/assets/js/node.js:759 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/6e3e0a627924a4e9.
Report an issue: GitHub.
Appendix: source
Thrown at modules/backend/vuecomponents/treeview/assets/js/node.js:759
this.keyPathString
);
}
if (this.dragAndDropMovable && this.branchDisplayMode == 'list') {
throw new Error(
'Treeview branch in LIST mode cannot have the MOVE drag and drop option enabled. Node path: ' +
this.keyPathString
);
}
if (this.branchGroupBy && this.branchDisplayMode !== 'list') {
throw new Error(
'Treeview branch in LIST mode cannot have the groupBy property set. Node path: ' + this.keyPathString
);
}
if (this.branchDragAndDropMode && this.branchGroupBy) {
throw new Error(
'Treeview drag and drop is not supported for branches with enabled groupBy option. Node path: ' +
this.keyPathString
);
}
}
};
View on GitHub (pinned to b608633a7e)