-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Deleting a VPN Client certificate raises 500 error #611
Labels
bug
Good first issue
Easy issue that new contributors may like to pick up to get themselves familiar with the repository.
Comments
Can I Give it a Try? |
Subhraneel77
pushed a commit
to Subhraneel77/openwisp-controller
that referenced
this issue
Feb 27, 2022
Sure! Go ahead @Subhraneel77 |
I'd like to work on this. |
@Aryamanz29 👍 👍 |
Aryamanz29
added a commit
to Aryamanz29/openwisp-controller
that referenced
this issue
May 7, 2022
- Deletion of VPN Client certificate raises 'ObjectDoesNotExist' exception. - Wrapped post_delete signal in a try-except block. Closes openwisp#611
Aryamanz29
added a commit
to Aryamanz29/openwisp-controller
that referenced
this issue
May 7, 2022
- Deletion of VPN Client certificate raises 'ObjectDoesNotExist' exception. - Wrapped post_delete signal in a try-except block. Closes openwisp#611
nemesifier
pushed a commit
that referenced
this issue
May 9, 2022
- Deletion of VPN Client certificate raises 'ObjectDoesNotExist' exception. - Wrapped post_delete signal in a try-except block. Closes #611
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Good first issue
Easy issue that new contributors may like to pick up to get themselves familiar with the repository.
Steps to replicate
/admin/pki/cert/
and delete the certificate related to the deviceExpected Outcome
The certificate is deleted and along with it VpnClient object is also deleted.
Actual Outcome
Server 500 Error
Possible fix:
Wrap the following code in a try except block.
openwisp-controller/openwisp_controller/config/base/vpn.py
Lines 660 to 661 in 758e398
We need a dedicated test for this regression.
The text was updated successfully, but these errors were encountered: