canonical / lxd-ui

Easy and accessible container and virtual machine management. A browser interface for LXD
GNU General Public License v3.0
291 stars 34 forks source link

Error report #1004

Open Csino opened 6 days ago

Csino commented 6 days ago

Description

A brief description of the problem. Should include what you were attempting to do, what you did, what happened and what you expected to see happen.

Metadata

UI Version: 0.8.4 Path: /ui/project/Moba/instance/mongodb/configuration/network-devices

Stacktrace

NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at $1 (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:26089)
    at pr (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27379)
    at N1 (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27839)
    at pr (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27529)
    at N1 (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27642)
    at pr (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27529)
    at N1 (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:30579)
    at pr (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27529)
    at N1 (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27839)
    at pr (https://192.168.2.147:8443/ui/assets/index-fc04eb4e.js:40:27529)
edlerd commented 6 days ago

Thank you for the report. The URL from the report suggests, that you were in an instance network configuration. Can you please describe what interaction was leading to the error? Did you try to add or remove a network device right before?

edlerd commented 6 days ago

Are you using google chrome with automatic translation?

I can reproduce this, when enabling translation in chrome. Then removing a network interface from an instance leads to the above stack trace with the current 5.21 LTS version, that ships with UI version 0.8.4.

edlerd commented 6 days ago

Relevant react issue an open chrome bug on this.