-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Copy link
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: GraphQLtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Milestone
Description
Deployment Type
Self-hosted
NetBox Version
v4.3.1
Python Version
3.10
Steps to Reproduce
Originally, it was able to filter FHRP group assignments by device/VM id.
This feature was added by #9314.
However, in the version 4.3.1, Those fields definition are missing in FHRPGroupAssignmentFilter.
And this regression breaks our scripts.
I can even check this issue from the demo site: https://demo.netbox.dev/graphql/
The following GraphQL query works fine in version 4.2, but it causes an error in version 4.3
{
fhrp_group_assignment_list(filters: {virtual_machine_id: ["22"]}) {
group {
id
ip_addresses {
address
dns_name
}
}
}
}Expected Behavior
Should be able to use device, device_id, virtual_machine, virtual_machine_id to filter FHRPGroupAssignment.
Observed Behavior
The above query return an error:
Field 'virtual_machine_id' is not defined by type 'FHRPGroupAssignmentFilter'.
And those fields are missing from FHRPGroupAssignmentFilter definition.
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: GraphQLtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application