Server Error after selecting sort by one of the columns in Permissions #11765

Closed
opened 2025-12-29 21:49:37 +01:00 by adam · 2 comments
Owner

Originally created by @wowagsm on GitHub (Oct 22, 2025).

Originally assigned to: @pheus on GitHub.

NetBox Edition

NetBox Community

NetBox Version

v4.4.4

Python Version

3.12

Steps to Reproduce

When going to the Permissions section https://netbox.example.com/users/permissions / (there is one entry for resolution). Click on the sort by column "CAN ADD" (https://netbox.example.com/users/permissions/?sort=enabled #). Go back to the Permissions section https://netbox.example.com/users/permissions / .A server exception occurs

Expected Behavior

The Permissions section should have opened

Observed Behavior

A server error is displayed:
Server Error
There is a problem with your request. Please contact the administrator.

The full exception is given below:

<class 'django.core.exceptions.FieldError'>

Cannot resolve keyword 'can_add' into field. Choices are: actions, constraints, description, enabled, groups, id, name, object_types, users

Version for Python: 3.12.3
Version NetBox: 4.4.4
Plugins:
netbox_acls: 1.9.1
netbox_attachments: 9.0.0
netbox_dns: 1.4.2
netbox_inventory: 2.4.0
netbox_kea: 1.0.3
netbox_reorder_rack: 1.1.4
netbox_topology_views: 4.4.0
slurpit_netbox: 1.2.5

Image

Originally created by @wowagsm on GitHub (Oct 22, 2025). Originally assigned to: @pheus on GitHub. ### NetBox Edition NetBox Community ### NetBox Version v4.4.4 ### Python Version 3.12 ### Steps to Reproduce When going to the Permissions section https://netbox.example.com/users/permissions / (there is one entry for resolution). Click on the sort by column "CAN ADD" (https://netbox.example.com/users/permissions/?sort=enabled #). Go back to the Permissions section https://netbox.example.com/users/permissions / .A server exception occurs ### Expected Behavior The Permissions section should have opened ### Observed Behavior A server error is displayed: Server Error There is a problem with your request. Please contact the administrator. The full exception is given below: <class 'django.core.exceptions.FieldError'> Cannot resolve keyword 'can_add' into field. Choices are: actions, constraints, description, enabled, groups, id, name, object_types, users Version for Python: 3.12.3 Version NetBox: 4.4.4 Plugins: netbox_acls: 1.9.1 netbox_attachments: 9.0.0 netbox_dns: 1.4.2 netbox_inventory: 2.4.0 netbox_kea: 1.0.3 netbox_reorder_rack: 1.1.4 netbox_topology_views: 4.4.0 slurpit_netbox: 1.2.5 ![Image](https://github.com/user-attachments/assets/d0ac1a21-8829-4488-a321-f6bafe341232)
adam added the type: bugstatus: acceptednetboxseverity: low labels 2025-12-29 21:49:37 +01:00
adam closed this issue 2025-12-29 21:49:37 +01:00
Author
Owner

@pheus commented on GitHub (Oct 24, 2025):

I'd like to contribute this bugfix. Could you please assign the issue to me? Thanks!

@pheus commented on GitHub (Oct 24, 2025): I'd like to contribute this bugfix. Could you please assign the issue to me? Thanks!
Author
Owner

@jeremystretch commented on GitHub (Oct 24, 2025):

Thanks @pheus!

@jeremystretch commented on GitHub (Oct 24, 2025): Thanks @pheus!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11765