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 validation is different than deploy validation #3318

Closed
1 task done
A-Harby opened this issue Aug 19, 2024 · 1 comment
Closed
1 task done

🐞 [Bug]: Delete validation is different than deploy validation #3318

A-Harby opened this issue Aug 19, 2024 · 1 comment
Labels
dashboard type_bug Something isn't working

Comments

@A-Harby
Copy link
Contributor

A-Harby commented Aug 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

which package/s did you face the problem with?

Dashboard

What happened?

I deployed a VM with no error (passing the validation) but when I try to delete it, I get this error deployment_name must contain only letters and numbers and can't delete it.

Steps To Reproduce

No response

which network/s did you face the problem on?

Dev

version

28e17de

Twin ID/s

No response

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant screenshots/screen records

image
image

Relevant log output

Validation failed. errors: Array(1) [Object(5) {"target": Object(2) {"name": test_omar, "deployment_name": test_omar}, "value": test_omar, "property": deployment_name, "children": Array(0) [], "constraints": Object(1) {"isAlphanumeric": deployment_name must contain only letters and numbers}}]

Error while deleting deployment ValidationError: Validation failed. errors: An instance of DeleteMachineModel has failed the validation:
- property deployment_name has failed the following constraints: isAlphanumeric 
.

error while getting value of key(VM89c30eb6) GridClientError: Couldn't decrypt key: dev/162/machines/fullvm/VM89c30eb6/contracts.json.
@A-Harby A-Harby added type_bug Something isn't working dashboard labels Aug 19, 2024
@AhmedHanafy725
Copy link
Contributor

duplicate of #3314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard type_bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants