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

"Problem saving workflow" when tags disabled #3781

Closed
rizalfauzie opened this issue Jul 26, 2022 · 4 comments
Closed

"Problem saving workflow" when tags disabled #3781

rizalfauzie opened this issue Jul 26, 2022 · 4 comments

Comments

@rizalfauzie
Copy link

Describe the bug
Got error message when saving workflow Problem saving workflow when workflow tag is disabled. But the workflow still saved on database after i reload and load from workflow menu, everything is okay.

To Reproduce
Steps to reproduce the behavior:

  1. Clean install with latest version
  2. Run with export N8N_WORKFLOW_TAGS_DISABLED=true && n8n start
  3. Create new workflow
  4. make some changes
  5. Click Save button, on first time it's okay
  6. Make some changes again
  7. Then click Save again
  8. The error message appear

Expected behavior
The success message after workflow is saved to database.

Environment (please complete the following information):

  • OS: Mac OS 12.1 Intel
  • n8n Version 0.187.2
  • Node.js Version 18.6.0
  • Database system SQLite
  • Operation mode own
@rizalfauzie
Copy link
Author

Additional output from debug console log:

TypeError: Cannot read properties of undefined (reading 'length')
    at /Users/*****/.nvm/versions/node/v18.6.0/lib/node_modules/n8n/dist/src/Server.js:577:38
    at async /Users/*****/.nvm/versions/node/v18.6.0/lib/node_modules/n8n/dist/src/ResponseHelper.js:90:26

@brianinoa
Copy link
Contributor

Thanks @rizalfauzie I'm taking a look at this

@janober
Copy link
Member

janober commented Aug 2, 2022

The fix just got merged with #3792 and will be released with the next version.

@janober janober closed this as completed Aug 2, 2022
@janober janober added the Upcoming Release Will be part of the upcoming release label Aug 2, 2022
@janober
Copy link
Member

janober commented Aug 3, 2022

Fix got released with [email protected]

@janober janober removed the Upcoming Release Will be part of the upcoming release label Aug 3, 2022
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

No branches or pull requests

3 participants