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

Asking to rebuild routes of selected nodes in the main page causes errors #3559

Closed
3 tasks done
jfhautenauven opened this issue Jan 26, 2024 · 18 comments
Closed
3 tasks done
Labels
bug Something isn't working Stale zwave-js-feature Needs a zwave-js feature to be implemented

Comments

@jfhautenauven
Copy link

jfhautenauven commented Jan 26, 2024

Checklist

  • I am not using Home Assistant. Or: a developer has told me to come here.
  • I have checked the troubleshooting section and my problem is not described there.
  • I have read the changelog and my problem is not mentioned there.

Deploy method

Snap

Z-Wave JS UI version

9.8.1

ZwaveJS version

12.4.2

Describe the bug

image

When I select a few nodes using the checkboxes on the left of the screen, and then I ask to rebuild their routes, I get the first node selected to rebuild its routes, then I get error message on the following nodes (instantly).

I expect them to be rebuilt correctly

If I select only one at a time, it works, but when more than one is selected, only the first one works and the other ones fail immediately

To Reproduce

Main page, select a few nodes using the checkboxes on the left of the screen.
Bottom right, click on the icon to open the menu for the selection, and click on "Rebuild Routes / Begin"

Expected behavior

Routes get rebuilt for all the selected nodes

Additional context

No response

@jfhautenauven jfhautenauven added the bug Something isn't working label Jan 26, 2024
@robertsLando
Copy link
Member

@AlCalzone Did you added some checks that prevents from running concurrent rebuild routes? Because I can confirm the same on my side

@AlCalzone
Copy link
Member

AlCalzone commented Feb 6, 2024

I had to check. This has been like this for a while now (version 7): zwave-js/node-zwave-js#2115

Fixing this will have to wait on zwave-js/node-zwave-js#3707

@robertsLando
Copy link
Member

Means very few users tried that or maybe they just didn't report this 🤷🏼‍♂️

@jfhautenauven
Copy link
Author

@robertsLando : mommy always said I was "special"

@AlCalzone
Copy link
Member

Honestly I didn't even know this existed

@robertsLando robertsLando added the zwave-js-feature Needs a zwave-js feature to be implemented label Feb 7, 2024
@AlCalzone
Copy link
Member

@robertsLando should we remove the ability to do this from the UI for now until the underlying issue is fixed?

@robertsLando
Copy link
Member

@AlCalzone considering the low number of reports (I think @jfhautenauven is the only one?) I would not disable it for now

@AlCalzone
Copy link
Member

I mean it's not working anyways 🤷🏻‍♂️

@benyaffe
Copy link

i've noticed this, as well. with 30+ nodes, it was a pain to heal each of them individually after i'd tried to rebuild the routes of them all as a group. would support disabling the command until it is not harmful.

@AlCalzone
Copy link
Member

What do you mean with "harmful"? Once the first command is done, the others can be started normally. Before that they are not executed.

@benyaffe
Copy link

benyaffe commented Jul 11, 2024 via email

@AlCalzone
Copy link
Member

While I agree that this functionality should be removed, the "error state" is purely visual.

@benyaffe
Copy link

benyaffe commented Jul 12, 2024 via email

@robertsLando
Copy link
Member

robertsLando commented Jul 15, 2024

I just removed the action (just when sending to multiple nodes at once)

@AlCalzone
Copy link
Member

This will be fixed by zwave-js/node-zwave-js#7196
I've confirmed locally by reverting the above commit.

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

@github-actions github-actions bot added the Stale label Dec 27, 2024
@AlCalzone
Copy link
Member

@robertsLando I think you missed this

@robertsLando
Copy link
Member

Tx for the reminder :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale zwave-js-feature Needs a zwave-js feature to be implemented
Projects
None yet
Development

No branches or pull requests

4 participants