Skip to content

Bulk import URL path is incorrect #19322

@jeremystretch

Description

@jeremystretch

Deployment Type

Self-hosted

NetBox Version

v4.2.8

Python Version

3.10

Steps to Reproduce

  1. Navigate to the bulk import view for any object type (e.g. sites).

Expected Behavior

The URL should end in /import/ (e.g. /dcim/sites/import/).

Observed Behavior

The URL ends with /bulk_import/ (the view name). I believe this is an inadvertent change from #17752, which was implemented in v4.2.0. Each of the bulk import views should specify a path similar to the bulk edit & bulk delete views:

@register_model_view(Site, 'bulk_import', path='import', detail=False)
class SiteBulkImportView(generic.BulkImportView):
    ...

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions