-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
controller.challengeService.removeChallenge unable to remove global challenges #437
Comments
Global challenges are special and aren't handled by the challenge system - they are a config. |
Is there any way to handle them via plugin? |
You can modify the list by accessing |
Gotcha, thanks. |
Actually, this doesn't work as 7c4e7906-ad19-46c0-96f4-4fc301a562b4 is not in that config. |
This bug is caused by global challenge For example: When Additionally, this also affects Refs:
|
Solutions:
My general proposal:
I can prepare a PR with fix and global marker myself, as long as consensus on API is met. |
Describe the bug
controller.challengeService.removeChallenge
is unable to remove global challenges. Returns the error:TypeError: Cannot read properties of undefined (reading 'get')
To reproduce
Put this in a script to repro, this is to remove a challenge from the escalation track: controller.challengeService.removeChallenge("7c4e7906-ad19-46c0-96f4-4fc301a562b4", "h3")
The text was updated successfully, but these errors were encountered: