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

fix: unable to submit after fixing validation errors #114

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

schottra
Copy link
Contributor

TL;DR

There was a missing state transition between the invalid inputs state and the submission/validation state, causing the state machine to do nothing when attempting to submit after fixing validation errors. The fix just required adding an allowed state transition and corresponding unit tests.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

N/A

Tracking Issue

flyteorg/flyte#565

Copy link

@bnsblue bnsblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubberstampping it cuz I don't know Typescript. If I understand it correctly what you did was adding a transition to the state of "INVALID_INPUTS". The transition is triggered by Submit and the next state will be Validating Input.

@service-github-lyft-semantic-release
Copy link
Contributor

🎉 This PR is included in version 0.16.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants