Skip to content

Cannot redeploy from pg_dump when custom objects refers to netbox native objects #357

@cbout22

Description

@cbout22

Plugin Version

0.4.4

NetBox Version

4.4.9

Python Version

3.12.3

Steps to Reproduce

  1. Create a COT named Bar
  2. Create a COT named Foo with: COTF : Object-> Tenancy -> tenants and COTF : Object -> Custom Object -> Bar
  3. Create a Foo custom object that is bind to a tenant and a Bar CO
  4. Dump db
  5. Re-Deploy a netbox with this dump
  6. Try to access to any tenants and custom objects

Expected Behavior

We can access to tenants, Foo custom objects and Bar custom objects

Observed Behavior

  1. Impossible to access to any tenants (whenever they were never linked to any custom object)
Image
  1. Impossible to access to custom objects
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions