Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child Device Import fail #950

Closed
elmmare opened this issue Mar 8, 2017 · 1 comment
Closed

Child Device Import fail #950

elmmare opened this issue Mar 8, 2017 · 1 comment

Comments

@elmmare
Copy link

elmmare commented Mar 8, 2017

Issue type: bug report

**Python version:2.7.5
**NetBox version:1.9.1 and 1.9.0r1

Importing a child device list I obtain:

  • Record 1: null value in column "site_id" violates not-null constraint...

but "side id" is not a required field for child devices, it should be gathered from the parent device.
I'm quite sure that the feature was working in 1.8.4

@elmmare elmmare changed the title Child Device Import Child Device Import fail Mar 8, 2017
@pstanczak-vidscale
Copy link

Same issue here
**NetBox version:1.9.1

When trying to import child object

,Patch Panel,,Panduit,FAP - SMF LC 6 port,,,,FT-103-01,FAP1
`

Record 1: null value in column "site_id" violates not-null constraint DETAIL: Failing row contains (384, 2017-03-08, 2017-03-08 20:54:57.716456+00, null, , null, null, t, , 14, 42, null, 22, null, null, null, null, null).

Trying to connect new child object to a parent object ID: 377 in dcim_device table.

 id  |  created   |         last_updated          |   name    | serial | position | face | status | comments | device_role_id | device_type_id | platform_id | rack_id | primary_ip4_id | primary_ip6_id | tenant_id | asset_tag | site_id
-----+------------+-------------------------------+-----------+--------+----------+------+--------+----------+----------------+----------------+-------------+---------+----------------+----------------+-----------+-----------+---------
 377 | 2017-03-08 | 2017-03-08 20:14:57.961739+00 | FT-103-01 |        |       45 |    1 | t      |          |             14 |             27 |             |      22 |                |                |           |           |       2

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants