Skip to content
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

Fixes 15652 - PROTECTION_RULES: Custom Validator does not show error message on object deletion #15724

Conversation

Julio-Oliveira-Encora
Copy link
Contributor

Fixes: #15652

The issue was solved by replacing the line 433 of "netbox/netbox/views/generic/object_views.py" with "return redirect(self.get_return_url(request))".

Please let me know if I should also replace line 428 of the same file.

…return_url(request))". The toast is displayed with the message if the IP Address is protected.
…rl(request))". The toast is displayed with the message if the IP Address is protected.
@jeremystretch jeremystretch added the beta Concerns a bug/feature in a beta release label Apr 15, 2024
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Julio-Oliveira-Encora this change does not appear to address the bug. The returned URL is correct.

@jeremystretch
Copy link
Member

I'll take ownership of #15652 as I believe it arises from a regression introduced in the fix for #15637.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants