Fixes #1158: Exception thrown when creating a device component with an invalid name
Fixes #1158: Exception thrown when creating a device component with an invalid name

snazy2000/netbox,lampwins/netbox,digitalocean/netbox,lampwins/netbox,lampwins/netbox,lampwins/netbox,snazy2000/netbox,Alphalink/netbox,digitalocean/netbox,snazy2000/netbox,Alphalink/netbox,Alphalink/netbox,Alphalink/netbox,digitalocean/netbox,digitalocean/netbox,snazy2000/netbox