Skip to content

Site: Removing timezone fails via api because time_zone does not allow nulls #10809

@amhn

Description

@amhn

NetBox version

v3.3.6 & master

Python version

3.10

Steps to Reproduce

  1. Create site with time_zone, e.g. Europe/Berline
  2. Send {"time_zone": null} to /api/dcim/site// method PATCH

Expected Behavior

Time zone is unset.

Observed Behavior

An error is returned:

{"time_zone":["This field may not be null."]}

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: 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