Skip to content

Deleting a Custom Object Type Field on a branch results in failed merge #247

@mrmrcoleman

Description

@mrmrcoleman

Plugin Version

commit 1fd39e7 (HEAD -> main, origin/main, origin/HEAD)

NetBox Version

4.4.2

Python Version

3.12.3

Steps to Reproduce

  • Create a COT x
  • Add a COTF (text)
  • Create and activate a branch
  • In the branch delete the COTF
  • Merge

Expected Behavior

Either I'm prevented from deleting COTFs on branches, or the merge succeeds

Observed Behavior

ProgrammingError('column "textfield" of relation "custom_objects_7" does not exist')

Note: this appears to then put the instance into a broken state

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions