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

Workflows are overwritten and lost when switching between them with the previous page browser button #12950

Open
mrdarip opened this issue Jan 30, 2025 · 3 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@mrdarip
Copy link

mrdarip commented Jan 30, 2025

Describe the problem/error/question

Workflows get overwritten when navigating using browser's back button and saving.
Image

How to replicate

Caution

Use workflows you don't mind losing

  1. Enter your workflow "A"
  2. Click on "Overview"
  3. Enter your workflow "B"
  4. Make any modification to Workflow B to trigger the save modal later
  5. Use the browser's Back button twice (Workflow B → Overview → Workflow A)
    Image
  6. Click "save" on the save modal

Result: Workflow A gets overwritten with the just saved Workflow B, leading to duplicate "Workflow B" entries and loss of Workflow A.


Debug info

core

  • n8nVersion: 1.75.2
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.1
  • database: postgres
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production) (Althought my settings pane displays community edition)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/132.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-01-30T11:17:02.588Z}

@Joffcom
Copy link
Member

Joffcom commented Jan 30, 2025

Hey @mrdarip,

We have created an internal ticket to look into this which we will be tracking as "GHC-672"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 30, 2025
@mrdarip
Copy link
Author

mrdarip commented Jan 30, 2025

Could you provide a license to help restore my original workflow, which was lost due to the bug? Since my workflow hadn't been saved for over a day, it's impossible for me to recover it otherwise while maintaining my community license.

@Joffcom
Copy link
Member

Joffcom commented Jan 31, 2025

Hey @mrdarip

A license to use the history feature may not allow you to recover it if it hasn't been recently saved. If you have an execution log of the workflow it can be restored from that or a daily backup of your workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants