Skip to content

Incorrect representation of installed module when listing module bays using REST API brief mode #15243

@jeremystretch

Description

@jeremystretch

Deployment Type

NetBox Cloud

NetBox Version

v3.7.3

Python Version

3.11

Steps to Reproduce

  1. Create at least one module bay on a device
  2. Install a module on that bay
  3. Visit /api/dcim/module-bays/
  4. Visit /api/dcim/module-bays/?brief=true

Expected Behavior

The serialized representation of the module bay should include an installed_module field in both responses, with a representation of the installed module.

Observed Behavior

The installed_module field is absent when brief mode is enabled. There is instead an empty module field.

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

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions