Skip to content

Bulk Import behavior #19026

Closed as not planned
Closed as not planned
@sepetuks

Description

@sepetuks

Deployment Type

Self-hosted

NetBox Version

v.4.2.6

Python Version

3.12

Steps to Reproduce

  1. Select IPAM-> prefixes and bulk import
  2. put your bulk import data.
  3. In the middle of data make a mistake that the import would fail (lets say define wrong VRF)

The same applies to some other objects where name/item uniqueness is not being checked (VRFs, Chassis and etc.)
Issue was noticed to happen when we upgraded to 4.2.1 (on some earlier version 4.1.7 it was behaving ok), and still persists in 4.2.6

Expected Behavior

None of the data should imported if there are any errors on data.

Observed Behavior

Data up to the the failing line was imported.
Error where the failure occurred is shown for some time and then disappears.
It is not clear which part of data import was successful (especially if you miss that error popup).
If you try to load data again you get duplicate records (in this case prefixes) again till the failing line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending closureRequires immediate attention to avoid being closed for inactivitytype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions