Skip to content

Exceptions when creating Custom Objects #189

@khangfem

Description

@khangfem

Plugin Version

0.2.0

NetBox Version

4.4.0-beta1

Python Version

3.10.12

Steps to Reproduce

  1. Create new custom object type 'KEDB'
  2. Create new custom object type field 'lesson' for 'KEDB'
  3. Create new custom object of type 'KEDB'

Expected Behavior

A new custom object of type 'KEDB' be created

Observed Behavior

Server error: Field name lesson is not valid for model Table1Model in netbox_custom_objects.api.serializers.Table1ModelSerializer but still create a custom object of that type. When click on the custom object in list of "KEDB' it show: 'Server Error: 'Table1Model' object has no attribute 'lesson' "

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions