Skip to content

Custom fields that contains dot in its name causes netbox to fail #8030

@damiankaczkowski

Description

@damiankaczkowski

NetBox version

v3.0.11

Python version

3.9

Steps to Reproduce

  1. Add custom field with a name "dcim.site_postcode" in content types "dcim | site".
  2. Go to sites and add a site and fill "dcim.site_postcode" field with data.
  3. Go to sites overview click on configure table and add "dcim.site_postcode" field to selected columns.
  4. You will now spot that "dcim.site_postcode" column does not show any data. The data is only visible if you enter particular site details.
  5. Also import of site data will fail with error: "Unexpected column header "cf_dcim" found."

Expected Behavior

Entered "dcim.site_postcode" data should be visible on site overview. Site data should import on site import request.

Observed Behavior

Entered "dcim.site_postcode" data is not visible on site overview. Site data won't import on site import request.

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