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

Trying to delete a locked case should raise a warning #401

Open
pamag opened this issue Feb 8, 2022 · 1 comment
Open

Trying to delete a locked case should raise a warning #401

pamag opened this issue Feb 8, 2022 · 1 comment

Comments

@pamag
Copy link

pamag commented Feb 8, 2022

Describe the bug

When a "delete a case" action fails because the case is blocked, there is no feedback to the user.

png_612787079859759712

How to reproduce the bug

1- Select any study
2- Go to the case portal
3- From the Actions button in a case, select "lock"
4- From the Actions button in this locked case, select delete.
5- click OK in the warning about being a permanent action

Then nothing happens nor message about "Not able to delete a blocked case" is shown.

Proposed fix

When a case is locked, the "delete" action should be disabled and have a pop-up info with "Delete is disable in the locked cases. For deleting the case please, first unlock it" (or any similar message).

@pamag
Copy link
Author

pamag commented Mar 7, 2022

Reviewed

If this behaviour is approved needs first being implemented in OpenCGA and is scheduled to 2.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant