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

[BUG] Delete required capability in a contribution throwing error #1015

Open
sandeep-ps opened this issue Sep 20, 2022 · 2 comments
Open

[BUG] Delete required capability in a contribution throwing error #1015

sandeep-ps opened this issue Sep 20, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sandeep-ps
Copy link
Collaborator

sandeep-ps commented Sep 20, 2022

Describe the bug
When deleting a capability, if the capability is a "required capability" in a talent, it throws an error.

To Reproduce
Steps to reproduce the behavior:

  1. Create a contribution with capability and talent
  2. In the talent, select the capability as a required capability
  3. Try to delete the capability using "Delete capability" button
  4. See error

Expected behavior
Do a validation before deleting the capability.

Additional context
Add any other context about the problem here.

@sandeep-ps sandeep-ps added the bug Something isn't working label Sep 20, 2022
@minump
Copy link
Collaborator

minump commented Sep 29, 2022

Not able to reproduce the error as above. However, the error still persists in another fashion.

Steps to reproduce the behavior:

  1. Create a contribution with capability and talent
  2. In the talent, select the capability as a required capability
  3. Try to delete the capability using "Delete capability" button. The capability will be deleted
  4. See the talent details page. Click the link to the required capability.
  5. See Error in screenshot
  6. The capability id and link persists and arises in a KeyError.
    Screen Shot 2022-09-29 at 2 29 16 PM

The deleted capability is deleted from the DB.

@minump
Copy link
Collaborator

minump commented Oct 27, 2022

This is kept on hold for now.

The discussion notes are captured here

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

No branches or pull requests

2 participants