Skip to content

Unable to Configure a Reverse Relation Name When Configuring a Polymorphic Object COTF #522

@adparis99

Description

@adparis99

Plugin Version

0.5.1

NetBox Version

4.5.10

Python Version

3.12.12

Steps to Reproduce

  1. Create a custom object type of name foo
  2. Attempt to create a COTF of name bar with the following attributes:
    • Type: Object (or Multiple objects)
    • Polymorphic: True
    • Related object type: any (I am doing IP Address, IP Range, and Prefix)
    • Reverse relation name: foo_bar

Expected Behavior

I am able to create a polymorphic COTF with multiple related object types and a reverse relation name.

Observed Behavior

The reverse relation name field disappears when checking the Polymorphic checkbox, as shown in the image below. I may be being a bit presumptuous assuming this is a bug,, although #385 specifies that it should be available for object and multiobject fields. if this is a known limitation, I'm happy to create a feature request.

Without Polymorphic checked: Image

With Polymorphic checked:

Image

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions