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

Invalid YAML doesns't produce an error on #7609

Closed
1 task done
ryanrousseau opened this issue Jun 16, 2022 · 2 comments
Closed
1 task done

Invalid YAML doesns't produce an error on #7609

ryanrousseau opened this issue Jun 16, 2022 · 2 comments
Assignees
Labels
area/steps kind/bug This issue represents a verified problem we are committed to solving

Comments

@ryanrousseau
Copy link

Team

  • I've assigned a team label to this issue

Severity

Found internally - not necessarily blocking but very confusing experience

Version

Earliest tried was 2022.3 build 349-hotfix.1272

Latest Version

No response

What happened?

I updated the inline YAML on an existing Deploy Raw Kubernetes YAML step. The YAML appears to be invalid (the number should be surrounded by quotes).

image

When saving the process, no error message is presented, but the process is not saved. The Save button stays enabled.

Reproduction

  1. Create a valid Deploy Kubernetes Raw YAML step and save the process
  2. Update the YAML to be invalid (snippet below was used in finding the issue)
  3. Press the Save button and see no error message and that the process was not saved
apiVersion: v1
metadata: 
  name: development
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: rbac-development
  namespace: development
subjects:
- kind: User
  name:  111195243876388272360
  apiGroup: rbac.authorization.k8s.io
roleRef:
  kind: ClusterRole
  name: edit
  apiGroup: rbac.authorization.k8s.io

Error and Stacktrace

No response

More Information

No response

Workaround

No response

@ryanrousseau ryanrousseau added kind/bug This issue represents a verified problem we are committed to solving area/steps state/triage labels Jun 16, 2022
@mik-ky mik-ky closed this as completed Mar 23, 2023
@octoreleasebot
Copy link

Release Note: Fixed an issue with Deploy Kubernetes Raw YAML step not showing any errors on attempting to save when provided with an invalid YAML

@Octobob
Copy link
Member

Octobob commented May 19, 2023

🎉 The fix for this issue has been released in:

Release stream Release
2023.2 2023.2.976
2023.3+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/steps kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

5 participants