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

Fix Z-Wave network map not rendering when a node has no zwave_neighbours property #1046

Merged
merged 1 commit into from
May 11, 2021

Conversation

TheNetStriker
Copy link
Contributor

@TheNetStriker TheNetStriker commented May 10, 2021

This pull requests fixes the error "Cannot read property 'split' of undefined" in the ZWave Network Map if some ZWave things do not have the "neighbours" property.

Signed-off-by: David Masshardt david@masshardt.ch

… of undefined"

This pull requests fixes the error "Cannot read property 'split' of undefined" if some ZWave things do not have the "neighbours" property.
@ghys
Copy link
Member

ghys commented May 11, 2021

Thank you.
You have a failed DCO check because you didn't add a sign-off line to the commit message:
see https://probot.github.io/apps/dco/.

If you prefer provide it as a comment by replying here and I will add when merging.

@TheNetStriker
Copy link
Contributor Author

Sorry, this is only my second pull request for OpenHab and I always forget to add the sign off line. I've added the sign off line to the first comment and also in this comment.

Signed-off-by: David Masshardt david@masshardt.ch

Copy link
Member

@ghys ghys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@relativeci
Copy link

relativeci bot commented May 11, 2021

Job #112: Bundle Size — 10.43MB (~-0.01%).

da07c93 vs 8b1ae38

Changed metrics (2/8)
Metric Current Baseline
Initial JS 1.6MB(-0.02%) 1.6MB
Cache Invalidation 15.48% 17.89%
Changed assets by type (1/7)
            Current     Baseline
JS 8.14MB (~-0.01%) 8.14MB

View Job #112 report on app.relative-ci.com

@ghys ghys merged commit 1b002cf into openhab:main May 11, 2021
@ghys ghys added this to the 3.1 milestone May 30, 2021
@ghys ghys added main ui Main UI bug Something isn't working labels May 30, 2021
@ghys ghys changed the title [Main UI] ZWave: Fix for "Cannot read property 'split' … of undefined" Fix Z-Wave network map not rendering when a node has no zwave_neighbours property May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants