Skip to content

Incorrect import CSV with multiline values #7780

@seros1521

Description

@seros1521

NetBox version

v3.0.8

Python version

3.7

Steps to Reproduce

1.open the CSV file import page for Sites
2.import a CSV file with the following content:

name,slug,status,comments
name1,slug1,active,"multiline
comment"

Expected Behavior

The "comments" field is expected to preserve the line break.

Observed Behavior

When importing a file, the line break in the multi-line comments field disappears.
When importing through the "CSV Data" form, the import is correct, the line feed is preserved.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions