File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 1313* [ #6064 ] ( https://github.com/netbox-community/netbox/issues/6064 ) - Fix object permission assignments for user and group models
1414* [ #6217 ] ( https://github.com/netbox-community/netbox/issues/6217 ) - Disallow passing of string values for integer custom fields
1515* [ #6284 ] ( https://github.com/netbox-community/netbox/issues/6284 ) - Avoid sending redundant webhooks when adding/removing tags
16+ * [ #6492 ] ( https://github.com/netbox-community/netbox/issues/6492 ) - Correct tag population in post-change data resulting from REST API changes
1617* [ #6496 ] ( https://github.com/netbox-community/netbox/issues/6496 ) - Fix upgrade script when Python installed in nonstandard path
1718* [ #6502 ] ( https://github.com/netbox-community/netbox/issues/6502 ) - Correct permissions evaluation for running a report via the REST API
1819* [ #6517 ] ( https://github.com/netbox-community/netbox/issues/6517 ) - Fix assignment of user when creating rack reservations via REST API
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def serialize_object(obj, extra=None):
105105
106106 # Include any tags. Check for tags cached on the instance; fall back to using the manager.
107107 if is_taggable (obj ):
108- tags = getattr (obj , '_tags' , obj .tags .all () )
108+ tags = getattr (obj , '_tags' , None ) or obj .tags .all ()
109109 data ['tags' ] = [tag .name for tag in tags ]
110110
111111 # Append any extra data
You can’t perform that action at this time.
0 commit comments