RackType detail view and table reference airflow, but RackType has no airflow field #11852

Closed
opened 2025-12-29 21:50:43 +01:00 by adam · 2 comments
Owner

Originally created by @pheus on GitHub (Nov 19, 2025).

Originally assigned to: @pheus on GitHub.

NetBox Edition

NetBox Community

NetBox Version

v4.4.6

Python Version

3.12

Steps to Reproduce

  1. Go to DCIM → Rack Types.
  2. Open Table Configuration.
    “Airflow” is offered as an available column for Rack Types.
  3. Open RackType detail view.
    The template renders an airflow field even though the model does not define it.

Expected Behavior

RackType should not expose or reference an airflow field anywhere. Only models that actually define an airflow attribute (e.g., Rack) should show it.

Observed Behavior

  • Table configuration for Rack Types includes an Airflow column.
  • Detail view template for RackType attempts to display an airflow field.
  • FilterForm does not show an airflow field (correctly), because it is not in the FilterSet — however, the RackBaseFilterForm defines it.
Originally created by @pheus on GitHub (Nov 19, 2025). Originally assigned to: @pheus on GitHub. ### NetBox Edition NetBox Community ### NetBox Version v4.4.6 ### Python Version 3.12 ### Steps to Reproduce 1. Go to **DCIM → Rack Types**. 2. Open **Table Configuration**. *“Airflow” is offered as an available column for Rack Types.* 3. Open **RackType detail view**. *The template renders an `airflow` field even though the model does not define it.* ### Expected Behavior `RackType` should not expose or reference an `airflow` field anywhere. Only models that actually define an airflow attribute (e.g., `Rack`) should show it. ### Observed Behavior - **Table configuration** for Rack Types includes an **Airflow** column. - **Detail view** template for RackType attempts to display an `airflow` field. - **FilterForm** does **not** show an airflow field (correctly), because it is not in the FilterSet — however, the RackBaseFilterForm defines it.
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:50:43 +01:00
adam closed this issue 2025-12-29 21:50:43 +01:00
Author
Owner

@pheus commented on GitHub (Nov 19, 2025):

I’m happy to open a PR if this bug gets accepted.

@pheus commented on GitHub (Nov 19, 2025): I’m happy to open a PR if this bug gets accepted.
Author
Owner

@jeremystretch commented on GitHub (Nov 20, 2025):

Thanks @pheus!

@jeremystretch commented on GitHub (Nov 20, 2025): Thanks @pheus!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11852