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

[Bug] Saving on deleted snapshot #139

Open
SrMouraSilva opened this issue Oct 14, 2023 · 0 comments
Open

[Bug] Saving on deleted snapshot #139

SrMouraSilva opened this issue Oct 14, 2023 · 0 comments

Comments

@SrMouraSilva
Copy link

SrMouraSilva commented Oct 14, 2023

Description

  1. Create a snapshot with save as option (Snapshot > Save as)
  2. go to snapshot list
  3. select the new snapshot as the current clicking it on snapshot list
  4. delete the created snapshot (and don't select any other snapshot)
  5. close snapshot list
  6. save the snapshot (Snapshot > Save)

The "Pedalboard snapshot saved" modal will appears, but you can inspect the response from webserver, the contend body is

false

instead of true.

So, apparently, if you delete the current snapshot, the snapshot will be deleted, but the snapshot identifier (Host.current_pedalboard_snapshot_id) won't be updated.

Expected behavior

Maybe blocking the current snapshot exclusion in frontend would be sufficient. But blocking the current snapshot exclusion from the backend enforces to avoid this inconsistency.

Details

  • Mod equipment: Desktop from source code running on Linux
  • Mod version:
  • Mod-ui version: latest (2f58ab1)
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

1 participant