"Add export template" button doesn't pass content type #9214

Closed
opened 2025-12-29 20:47:09 +01:00 by adam · 1 comment
Owner

Originally created by @alehaa on GitHub (Feb 8, 2024).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7.2

Python Version

3.11

Steps to Reproduce

  1. Navigate to Customization > Export Templates.
  2. Click button Export > Add export template...

Expected Behavior

Form has field Content types prefilled.

Observed Behavior

Field Content types is empty, as URL parameter is not properly set. It needs to be content_types not content_type (missing s).

I can provide a PR for this issue.

Originally created by @alehaa on GitHub (Feb 8, 2024). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7.2 ### Python Version 3.11 ### Steps to Reproduce 1. Navigate to `Customization` > `Export Templates`. 2. Click button `Export` > `Add export template...` ### Expected Behavior Form has field `Content types` prefilled. ### Observed Behavior Field `Content types` is empty, as URL parameter is not properly set. It needs to be `content_types` not `content_type` (missing s). I can provide a PR for this issue.
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:47:09 +01:00
adam closed this issue 2025-12-29 20:47:09 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 8, 2024):

  1. Navigate to Customization > Export Templates.

Just to clarify because this could be confusing: The bug affects the "add export template" dropdown item under the "export" button for all objects.

@jeremystretch commented on GitHub (Feb 8, 2024): > 1. Navigate to Customization > Export Templates. Just to clarify because this could be confusing: The bug affects the "add export template" dropdown item under the "export" button for _all_ objects.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9214