-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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(public-api): Fix error updating workflow with property not defined in the schema #4089
Merged
RicardoE105
merged 2 commits into
master
from
n8n-4595-public-api-crashes-when-updating-workflow
Sep 14, 2022
Merged
fix(public-api): Fix error updating workflow with property not defined in the schema #4089
RicardoE105
merged 2 commits into
master
from
n8n-4595-public-api-crashes-when-updating-workflow
Sep 14, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n8n-assistant
bot
added
core
Enhancement outside /nodes-base and /editor-ui
n8n team
Authored by the n8n team
labels
Sep 13, 2022
mieky
force-pushed
the
n8n-4595-public-api-crashes-when-updating-workflow
branch
from
September 13, 2022 12:28
4bc1e39
to
bfa8165
Compare
RicardoE105
changed the title
fix(cli): catch errors on updating workflow
fix(public-api): Fix error updating workflow with property not defined in the schema
Sep 14, 2022
RicardoE105
approved these changes
Sep 14, 2022
RicardoE105
deleted the
n8n-4595-public-api-crashes-when-updating-workflow
branch
September 14, 2022 15:40
n8n-assistant
bot
added
the
Upcoming Release
Will be part of the upcoming release
label
Sep 14, 2022
Got released with |
valya
pushed a commit
to valya/n8n
that referenced
this pull request
Nov 8, 2022
…d in the schema (n8n-io#4089) * fix(cli): catch errors on updating workflow * ⚡ Don\'t allow additionalProperties in the workflow schema Co-authored-by: ricardo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As an interim fix before we have schema validation in place, this should fix any unexpected API crashes trying to update a workflow with malformed contents, and return a HTTP 400 instead. Workflow creation isn't affected.
More details on the Linear issue.