Skip to content

Error is not clear when submitting query plan in "raw" text format without the header #58

@NikitaMatckevich

Description

@NikitaMatckevich

Query plans start with the header like:

GetAggregatesQuery explanation
==============================

Earlier if one have chosen "text area", "v1" in the input menu, one may have put the query plan without the header. It does not work anymore and the error message is not clear:

TypeError: Cannot read properties of undefined (reading 'parentId')
at findRootInfo (src/components/Summary/Summary.tsx:392:16)
at Summary (src/components/Summary/Summary.tsx:416:20)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:16305:22)
at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:20074:17)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:21587:20)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:27426:18)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:26557:16)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:26466:9)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:26434:11)
at recoverFromConcurrentError (node_modules/react-dom/cjs/react-dom.development.js:25850:24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions