Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow icon: type check failed for prop "status" #1169

Closed
oliver-sanders opened this issue Dec 13, 2022 · 3 comments
Closed

workflow icon: type check failed for prop "status" #1169

oliver-sanders opened this issue Dec 13, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@oliver-sanders
Copy link
Member

Seemingly harmless traceback which shows up in the console from time to time.

This means one of the workflow icon components is getting undefined passed in as the status which either means:

  • The status isn't being requested.
  • The icon is being rendered before the data is ready.
[Vue warn]: Invalid prop: type check failed for prop "status". Expected String, got Undefined 

found in

---> <WorkflowIcon> at src/components/cylc/gscan/WorkflowIcon.vue
       <TreeItem> at src/components/cylc/tree/TreeItem.vue... (1 recursive calls)
         <Tree> at src/components/cylc/tree/Tree.vue
           <VSkeletonLoader>
             <GScan> at src/components/cylc/gscan/GScan.vue
               <VList>
                 <VNavigationDrawer>
                   <Drawer> at src/components/cylc/Drawer.vue
                     <Default> at src/layouts/Default.vue
                       <VApp>
                         <App> at src/App.vue
                           <Root>

Pull requests welcome!
This is an Open Source project - please consider contributing a bug fix
yourself (please read CONTRIBUTING.md before starting any work though).

@oliver-sanders oliver-sanders added the bug Something isn't working label Dec 13, 2022
@oliver-sanders oliver-sanders added this to the 1.5.0 milestone Dec 13, 2022
@MetRonnie MetRonnie modified the milestones: 1.5.0, 1.6.0 Jan 25, 2023
@oliver-sanders oliver-sanders modified the milestones: 1.6.0, 2.0.0 Apr 24, 2023
@MetRonnie MetRonnie modified the milestones: 2.0.0, 2.1.0 Jun 14, 2023
@MetRonnie MetRonnie changed the title workflow icon: traceback workflow icon: type check failed for prop "status" Aug 10, 2023
@MetRonnie MetRonnie modified the milestones: 2.1.0, 2.2.0 Aug 22, 2023
@oliver-sanders oliver-sanders modified the milestones: 2.2.0, 2.3.0 Nov 2, 2023
@MetRonnie MetRonnie modified the milestones: 2.4.0, 2.5.0 Mar 27, 2024
@MetRonnie
Copy link
Member

MetRonnie commented Apr 16, 2024

Is this still applicable? I haven't seen this warning; propose closing it

@oliver-sanders
Copy link
Member Author

I suspect that the issue is still there but presenting itself differently (I think we have a fallback icon now?).

Can probably close as superseded by:

cylc/cylc-uiserver#485

@MetRonnie
Copy link
Member

Can re-open if seen again

@MetRonnie MetRonnie closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
@MetRonnie MetRonnie removed this from the 2.5.0 milestone Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants