cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
37 stars 27 forks source link

Empty cycle point - `getFamilyTree()` TypeError #1922

Open MetRonnie opened 2 months ago

MetRonnie commented 2 months ago

Description

I had a workflow open with the tree view. I uninstalled, reinstalled, and started it.

Uncaught TypeError: Cannot read properties of undefined (reading 'slice')

Location: https://github.com/cylc/cylc-ui/blob/b0204f2d7d2d4848bd5f6d7ec9972f4ef23fc691/src/store/workflows.module.js#L322

node has no property ancestors.

It caused a cycle point to show up as empty, similar to in #1813

image

oliver-sanders commented 2 months ago

Hmm, does this mean that GraphQL did not return the ancestors field on a task?

Try jamming in some console.logs to find out.