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

Code Editor loads placeholder text instead of actual code #6648

Closed
kcyd opened this issue Jul 12, 2023 · 5 comments
Closed

Code Editor loads placeholder text instead of actual code #6648

kcyd opened this issue Jul 12, 2023 · 5 comments

Comments

@kcyd
Copy link

kcyd commented Jul 12, 2023

Describe the bug
Javascript code in the Code node is not loaded into the code editor but replaced with the placeholder text

To Reproduce
Steps to reproduce the behavior:

  1. Create new workflow
  2. Add Code node
  3. Modify the code
  4. Close the editor
  5. Open the node again - code replaced with placeholder text

Expected behavior
previously entered code should be shown

Environment:

  • OS: n8n docker image
  • n8n Version >= 0.231.2 / 0.232
  • Database system SQLite

Additional context
The issue seems to be introduced by #6390

@netroy
Copy link
Member

netroy commented Jul 12, 2023

@kcyd I'm not able to reproduce this in 0.236.0.
Would it be possible for you to upgrade?

@kcyd
Copy link
Author

kcyd commented Jul 12, 2023

happens for me also on 0.236.0

@Joffcom
Copy link
Member

Joffcom commented Jul 12, 2023

@kcyd which browser are you using? I have not been able to reproduce it either.

@kcyd
Copy link
Author

kcyd commented Jul 12, 2023

so it looks like there was something in the .n8n folder broken (I have /home/node as a persistent volume).
after cleaning this up its working fine

@kcyd kcyd closed this as completed Jul 12, 2023
@Joffcom
Copy link
Member

Joffcom commented Jul 12, 2023

@kcyd that is good to know thanks for the update.

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