Skip to content

BackendVarFormatError (#7456) should name the state and var and point at default_value() / ClassVar #7475

Closed

Description

@masenf

Severity: LOW (error-message quality), 0.10.0a2.

#7456 turns formatting a backend var Field into a string (f"{State._x}", or a ComponentState f-string) into BackendVarFormatError at compile time, which is the right call. The message does not say which state/var was formatted or where, and does not mention the two migrations (State._x.default_value() to read the default, ClassVar[...] for class-level constants), so a user upgrading a 0.9 app sees the page name at best. Two clusters hit this with the 10-06 e2e app and with reflex-clerk's set_clerk_session (TypeError: 'Field' object is not iterable on a2/a1, 0.9.12 validates the token).

Related: the silent paths listed under finding N-006 (a backend var rendered through other formatting routes still shows Field(...) without an error).

Evidence: findings N-006 and F-001 in FINDINGS.md; reverify_core and thirdparty_a2 cluster notes.

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. added theissue type on Oct 7, 2026
  3. linear-code commented on Oct 7, 2026

    @linear-code
  4. added
    release-train
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

release-train

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions