Skip to content

Using Module Type profile without schema generates TypeError #19667

@brianatlarge

Description

@brianatlarge

Deployment Type

Self-hosted

NetBox Version

v4.3.2

Python Version

3.12

Steps to Reproduce

  1. Under 'Module Type Profile', create new module type.
  2. Leave Schema blank
  3. Under 'Module Types' create new module
  4. Select new module type profile that we just created
  5. Click 'Save'

Expected Behavior

If Schema is required for the functionality of module types to work, then the Schema field should be required. Otherwise it should be possible to create a module type without the module type profile needing to have a schema specified.

Observed Behavior

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'TypeError'>

argument of type 'NoneType' is not iterable

Python version: 3.12.3
NetBox version: 4.3.2
Plugins: None installed

If further assistance is required, please post to the NetBox discussion forum on GitHub.

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions