Import of uploaded file validation failure does not display selected tab #7791

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

Originally created by @jeremystretch on GitHub (Mar 23, 2023).

Originally assigned to: @decoupca on GitHub.

NetBox version

v3.4.6

Python version

3.8

Steps to Reproduce

  1. Navigate to Organization > Sites > Import
  2. Select the "Upload File" tab
  3. Upload a CSV file that fails validation

Expected Behavior

The relevant error message(s) should be displayed and the user returned to the file upload view.

Observed Behavior

The error message(s) are displayed, however the reloaded page shows the default "Data Import" tab rather than the original "File Upload" form. The user must select the proper tab.

Originally created by @jeremystretch on GitHub (Mar 23, 2023). Originally assigned to: @decoupca on GitHub. ### NetBox version v3.4.6 ### Python version 3.8 ### Steps to Reproduce 1. Navigate to Organization > Sites > Import 2. Select the "Upload File" tab 3. Upload a CSV file that fails validation ### Expected Behavior The relevant error message(s) should be displayed and the user returned to the file upload view. ### Observed Behavior The error message(s) are displayed, however the reloaded page shows the default "Data Import" tab rather than the original "File Upload" form. The user must select the proper tab.
adam added the type: bugstatus: accepted labels 2025-12-29 20:28:15 +01:00
adam closed this issue 2025-12-29 20:28:15 +01:00
Author
Owner

@decoupca commented on GitHub (Apr 12, 2023):

I have a PR ready for this one

@decoupca commented on GitHub (Apr 12, 2023): I have a PR ready for this one
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7791