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

Updating reference check to include variables referencing variables #972

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

snake14
Copy link
Contributor

@snake14 snake14 commented Jan 9, 2025

Description:

It was found that the existing references check during the deletion process doesn't include checking if the variable is referenced by CustomJS variables. The PR fixes that.

Fixes: #895

Review

@snake14 snake14 marked this pull request as ready for review January 9, 2025 22:53
Copy link
Contributor

@AltamashShaikh AltamashShaikh left a comment

Choose a reason for hiding this comment

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

Looks good, I can see the alert, when I check this branch out 👍

@snake14 snake14 merged commit b71e23d into 5.x-dev Jan 13, 2025
5 checks passed
@snake14 snake14 deleted the PG-3900-improve-variable-references-check branch January 13, 2025 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Prevent user from deleting a custom variable called within a custom JS variable
2 participants