[bug] Adding OrganizationUser and assigning default RadiusGroup together raises server error #507
Labels
bug
Something isn't working
good-first-issue
Good for newcomers
help wanted
Extra attention is needed
Projects
Steps to replicate
/admin/openwisp_users/user/add/
(do not add this user to any organization)Expected user
The save operation is performed without any error. The OrganizationUser and RadiusUserGroup objects get created.
Actual outcome
The application raises server 500 error.
Possible solution
https://github.com/openwisp/openwisp-radius/blob/3deb0ef8a1e933372e10c1183794b9d9d8fe057b/openwisp_radius/receivers.py#L33C1-L48C22
The text was updated successfully, but these errors were encountered: