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

Handle undefined linkType value for existing link-call nodes #4331

Merged
merged 1 commit into from Sep 19, 2023

Conversation

knolleary
Copy link
Member

  • Bugfix (non-breaking change which fixes an issue)

Reported on the forum, after upgrading to 3.1.0, an existing link call node was showing a validation error. This was because the validation expected linkType to be set. For old flows, that value could be undefined which ought to have been good enough to imply static.

This modifies the validation so it treats undefined as static.

One side-effect we'll live with is that on editing such a node and clicking 'done' without having made changes, will cause the value to get set to 'static' - and mark the node as dirty. This sometimes causes complaints in the community, but it's a fleeting moment to deal with it.

@knolleary knolleary merged commit 9004568 into master Sep 19, 2023
4 checks passed
@knolleary knolleary deleted the fix-unexpected-link-validation-err branch September 19, 2023 08:18
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.

Updating from v3.0.2 to v3.1.0 marked all 'link call' nodes as invalid
1 participant