-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.0.4
Python version
3.9
Steps to Reproduce
- Create an export template. Name: g, Content Type: dcim | devices. Query: {{ queryset }}
- perform an api call to https://netbox/api/dcim/devices/?export=g
- error: 'NoneType' object has no attribute 'Meta'
- move the export template to dcim | sites
- rerun api call to https://netbox/api/dcim/sites/?export=g
- success
Expected Behavior
The export template should be run, the same way as if it is run in the netbox site UI.
Observed Behavior
<class 'AttributeError'>
'NoneType' object has no attribute 'Meta' Python version: 3.9.5 NetBox version: 3.0.4
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application