A component template cannot be associated with both a device type and a module type. #9307

Closed
opened 2025-12-29 20:48:11 +01:00 by adam · 1 comment
Owner

Originally created by @xlimzlanex on GitHub (Feb 29, 2024).

Deployment Type

Self-hosted

NetBox Version

v3.7.3

Python Version

3.8

Steps to Reproduce

Screenshot 2024-02-28 at 5 45 29 PM

Trying to add a module to a device. Tried to add as a interface and did not work. Gave error in title. Also was able to reproduce in https://demo.netbox.dev/
Screenshot 2024-02-28 at 5 47 42 PM
.

Expected Behavior

I would think that this would just work. After reading through the other issues it appeared to have been fixed but is now broken again. Please help

Observed Behavior

Got greeted with this cool box.

Originally created by @xlimzlanex on GitHub (Feb 29, 2024). ### Deployment Type Self-hosted ### NetBox Version v3.7.3 ### Python Version 3.8 ### Steps to Reproduce ![Screenshot 2024-02-28 at 5 45 29 PM](https://github.com/netbox-community/netbox/assets/146968821/91750728-b29c-461b-baa3-d8473f68851c) Trying to add a module to a device. Tried to add as a interface and did not work. Gave error in title. Also was able to reproduce in https://demo.netbox.dev/ ![Screenshot 2024-02-28 at 5 47 42 PM](https://github.com/netbox-community/netbox/assets/146968821/a46b05fb-60cd-429e-b5ba-25692f1ae7b0) . ### Expected Behavior I would think that this would just work. After reading through the other issues it appeared to have been fixed but is now broken again. Please help ### Observed Behavior Got greeted with this cool box.
adam closed this issue 2025-12-29 20:48:11 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 29, 2024):

This is working as intended. A component template can only exist on a device type or a module type. It would not make sense to assign it to both.

@jeremystretch commented on GitHub (Feb 29, 2024): This is working as intended. A component template can only exist on a device type _or_ a module type. It would not make sense to assign it to both.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9307