Skip to content

TypeError: Cannot read properties of undefined (reading 'enabled') in CompareFeatures renderRow #8224

Description

@sentry

Sentry: FLAGSMITH-FRONTEND-58S

TypeError: Cannot read properties of undefined (reading 'enabled')

Where

web/components/CompareFeatures.jsrenderRow, reached via web/components/PanelSearch.tsx.

Impact

1 event, 1 user affected. First and last seen 2026-08-05T08:45Z. Sentry priority: high.
Release 1785847145636, Chrome 151, production.
URL: https://app.flagsmith.com/project/12472/compare

In-app frames

./web/components/PanelSearch.tsx        Al
./web/components/PanelSearch.tsx        renderContainer
<anonymous>                             Array.map
./web/components/PanelSearch.tsx        <anonymous>
./web/components/CompareFeatures.js     <object>.{children#2}.renderRow

Likely cause

A row on the project compare page where one side of the comparison has no
feature state, so .enabled is read from undefined. renderRow probably
needs a guard for features present in one environment but not the other.


Slack alert · filed by the sentry-triage skill

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions