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

fix: Not able to delete datasource when there's deleted actions #8627

Merged
merged 3 commits into from
Oct 26, 2021

Conversation

sharat87
Copy link
Member

@sharat87 sharat87 commented Oct 20, 2021

Deleted actions are being counted when checking if a datasource has actions using it before deleting a datasource. This PR fixes this by excluding deleted actions from the count.

Test case is the same as #7880.

Fixes #4609.

Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
@sharat87 sharat87 added the skip-changelog Adding this label to a PR prevents it from being listed in the changelog label Oct 20, 2021
@github-actions github-actions bot added Bug Something isn't working and removed skip-changelog Adding this label to a PR prevents it from being listed in the changelog labels Oct 20, 2021
@sharat87
Copy link
Member Author

/ok-to-test sha=8954017

1 similar comment
@mohanarpit
Copy link
Member

/ok-to-test sha=8954017

@mohanarpit
Copy link
Member

@sharat87 sharat87 changed the title fix: Datasource deleting when there's only deleted actions fix: Not able to delete datasource when there's deleted actions Oct 25, 2021
@sharat87
Copy link
Member Author

/ok-to-test sha=8ea9024

@mohanarpit
Copy link
Member

/ok-to-test sha=a0c767b

@mohanarpit
Copy link
Member

@sharat87 sharat87 merged commit c82bb75 into release Oct 26, 2021
@sharat87 sharat87 deleted the fix/delete-datasource-with-deleted-actions branch October 26, 2021 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Unable to delete datasource even if all the applications in organisation are deleted
3 participants