Skip to content

Bugfix: Cannot read properties of undefined (reading 'type') in gridRowUtils#21808

Open
timbuckley wants to merge 2 commits intomui:masterfrom
timbuckley:patch-2
Open

Bugfix: Cannot read properties of undefined (reading 'type') in gridRowUtils#21808
timbuckley wants to merge 2 commits intomui:masterfrom
timbuckley:patch-2

Conversation

@timbuckley
Copy link

Changelog

  • Bugfix: Add optional chaining to tree node type checks for graceful failure instead of the Cannot read properties of undefined (reading 'type') error.

Graceful failure to prevent `Level: Error
Cannot read properties of undefined (reading 'type')` errors

Signed-off-by: Tim Buckley <timothypbuckley@gmail.com>
@timbuckley timbuckley changed the title Add optional chaining to tree node type checks Bugfix: Cannot read properties of undefined (reading 'type') in gridRowUtils Mar 20, 2026
@mui-bot
Copy link

mui-bot commented Mar 20, 2026

Deploy preview: https://deploy-preview-21808--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 🔺+2B(0.00%) 🔺+2B(0.00%)
@mui/x-data-grid-pro 🔺+2B(0.00%) 🔺+2B(0.00%)
@mui/x-data-grid-premium 🔺+2B(0.00%) 🔺+2B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 8b913f5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants