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: Error Handling in Bulk Edit #4712

Open
2 tasks done
arunjaindev opened this issue Feb 22, 2024 · 3 comments
Open
2 tasks done

Bug: Error Handling in Bulk Edit #4712

arunjaindev opened this issue Feb 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working potential-duplicate

Comments

@arunjaindev
Copy link

arunjaindev commented Feb 22, 2024

📜 Description

Bugs out if user does not provide "kind" in Editor or if user provides a number instead of string in "kind"

👟 Reproduction steps

Open Bulk Edit
Input yaml without providing field "kind"

👍 Expected behavior

In case of not providing kind in yaml or providing yaml as a number, output should show invalid yaml

👎 Actual Behavior

GIves an Unexpected TypeError and spinner keeps moving without any output

☸ Kubernetes version

N/A

Cloud provider

N/A

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

To fix, convert to string and add optional chaining

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

AB#8670

@arunjaindev arunjaindev added the bug Something isn't working label Feb 22, 2024
@systemsdt
Copy link
Contributor

Potential duplicates:

@systemsdt
Copy link
Contributor

Potential duplicates:

1 similar comment
@systemsdt
Copy link
Contributor

Potential duplicates:

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

No branches or pull requests

4 participants