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

fd_children does not get set in dashboard and tab node #8

Open
maddin79 opened this issue Feb 2, 2023 · 4 comments
Open

fd_children does not get set in dashboard and tab node #8

maddin79 opened this issue Feb 2, 2023 · 4 comments

Comments

@maddin79
Copy link

maddin79 commented Feb 2, 2023

Hello,

first of all, thanks for the work.

I try to get this running but I never get a function configuration. I try to setup the same flow as the "Hello World" example, but it does not matter what I do, the fd_children always stay on undefined. I even exported the "Hello World" and my one and compared it. In my version the fd_children are not set. The logs show always the following error:

2/02/2023, 21:30:58
msg : string[24]
"Error: no fd_children in"
02/02/2023, 21:30:58msg : string[71]
"Node '4b2e4c915eaae7c0' has non-string fd_children: undefined undefined"
02/02/2023, 21:30:58msg : string[24]
"Error: no fd_children in"
02/02/2023, 21:30:58msg : string[71]
"Node 'b36de40da23c0544' has non-string fd_children: undefined undefined"
02/02/2023, 21:31:10msg : string[24]
"Error: no fd_children in"
02/02/2023, 21:31:10msg : string[71]
"Node '4b2e4c915eaae7c0' has non-string fd_children: undefined undefined"
02/02/2023, 21:31:10msg : string[24]
"Error: no fd_children in"
02/02/2023, 21:31:10msg : string[71]
"Node 'b36de40da23c0544' has non-string fd_children: undefined undefined"

b36de40da23c0544 is the tab node and 4b2e4c915eaae7c0 the dashboard node. Fun thing is that in the tab node field "fd" references the dashboard id.

In the graphical configuration I have set the dashboard in the tab node. Also I have a grid node and in that i picked the tab node. Somehow the configuration in the back end does not get updated.

Any help is more than welcome.

Best Martin

@awgrover
Copy link

awgrover commented Feb 8, 2023

I'm seeing this too. The drop down for setting the grid/panel shows "--" only. I've been patching up the flow.json manually (yikes!). In the flow.json, the fd_children=[], parent fields are getting set for some cases.

Nodered v3.0.2
Node v16.19.0
@flexdash/node-red-fd-corewidgets@0.4.64
@flexdash/node-red-flexdash@0.4.143

@tve
Copy link
Member

tve commented Feb 8, 2023

I did push a version 0.4.145 a day or two ago that fixes one issue that may be related.
I'm having a hard time getting an idea how to try and reproduce the problem you're seeing. Do you have any steps that lead there?

@maddin79
Copy link
Author

Sorry for the late reply. Got distracted by another project.

At the moment I do not have a clue. As soon as I have some spare time, I'll check it again. Maybe I find something.

Best
Martin

@awgrover
Copy link

awgrover commented Jul 6, 2023

The problem appears to be gone at:

Node-RED version: v3.0.2
Node.js  version: v16.19.0
FlexDash plugin version 0.4.154
Node-RED FlexDash version 0.4.154
Node-RED FD Core Widgets version 0.4.64
FlexDash UI version 0.4.90

I added a new grid to an existing tab, the "container" of a node allowed me to add and set that. The grid's "tab" drop-down had entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants