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

Saving an empty workflow breaks the canvas and the workflow #19667

Open
davelopez opened this issue Feb 20, 2025 · 0 comments
Open

Saving an empty workflow breaks the canvas and the workflow #19667

davelopez opened this issue Feb 20, 2025 · 0 comments

Comments

@davelopez
Copy link
Contributor

This happens only in dev as far as I could tell, so something recent must have broken it.
The issue is that the canvas (grid) is somehow gone and you can place nodes but you cannot move them around, and if you try to save the workflow, the API will throw a 500 because the step positions are "None".

Galaxy Version and/or server at which you observed the bug
Galaxy Version: dev
Commit: (run git rev-parse HEAD if you run this Galaxy server)

Browser and Operating System
Operating System: Windows, Linux, macOS
Browser: Firefox, Chrome, Chrome-based, Safari

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://127.0.0.1:8081/workflows/list
  2. Click on Create to create a new workflow
  3. Without adding any node, click Save & Exit
  4. Open for edit the workflow you just created
  5. Observe the canvas grid is gone (white screen instead of blue grid)
  6. You can insert but cannot move around nodes
  7. Saving the workflow will give a 500 error (due to missing step positions)

Expected behavior
The workflow is saved without steps and can be reopen and edited without issue.

Screenshots

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant