Audit template columns for missing accessor definitions #6903

Closed
opened 2025-12-29 19:46:31 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 29, 2022).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Do a quick audit of all TemplateColumns defined in NetBox to check for any that don't properly define an accessor when referencing a related object.

Justification

Dynamic table rendering relies on columns properly annotating the objects they need to prefetch when querying the database. Auditing for discrepancies helps to avoid bugs such as #10170.

Originally created by @jeremystretch on GitHub (Aug 29, 2022). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Do a quick audit of all TemplateColumns defined in NetBox to check for any that don't properly define an accessor when referencing a related object. ### Justification Dynamic table rendering relies on columns properly annotating the objects they need to prefetch when querying the database. Auditing for discrepancies helps to avoid bugs such as #10170.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 19:46:31 +01:00
adam closed this issue 2025-12-29 19:46:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6903