Skip to content

Error syncing branch after adding new device type with weight #162

@sirsnork

Description

@sirsnork

Plugin Version

0.5.1

NetBox Version

4.1.5

Python Version

3.12.3

Steps to Reproduce

  1. Create branch
  2. Add new device type to main with weight
  3. Try to sync main to branch

Expected Behavior

Complete without errors

Observed Behavior

Sync fails with

"Applying change DCIM | device type ASR-920-24TZ-M created by user using schema_branch_c53jyw9a", "['“3800.0” value must be an integer.']: (dcim.devicetype:pk=132) field_value was '3800.0'"

This happens when weight is set to kilograms or grams

Metadata

Metadata

Assignees

Labels

type: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions