Skip to content

[Bug] Saving on deleted snapshot #139

@SrMouraSilva

Description

@SrMouraSilva

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions