Skip to content

The "Position" field doesn't resolve the {module} variable in nested modules #20467

@tpx-mk

Description

@tpx-mk

NetBox Edition

NetBox Community

NetBox Version

4.3.7

Python Version

3.10

Steps to Reproduce

  • Create a module type, e.g. TapeLib Extension module
  • Within the module type create one (or more) module bay(s) with the {module} variable in the position field
  • Create another module type, e.g. TapeLib Drive module
  • Add a module of the first type into some device (e.g. TapeLibrary)
  • Add a module of the second type into a module bay of the first module

Expected Behavior

the {module} variable gets expended not only in the names of the modules and interfaces and the label field but also in the position field

Observed Behavior

the position in the nested moduled shows {module} as text without resolving the variable

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions