Skip to content

fix: revert move shows folder does not exist error #94

Description

@ClaudiaFang

Bug Description

When reverting a "move" operation, the plugin shows a "folder does not exist" error instead of successfully restoring the file to its original location.

Steps to Reproduce

  1. Move a file/note to a different folder via the sync/move flow.
  2. Attempt to revert (undo) that move operation.
  3. Observe the "folder does not exist" error.

Expected Behavior

Reverting a move should restore the file to its original folder without error, assuming the original folder still exists (or should be recreated if it was removed).

Open Questions

  • Does the error occur when the original source folder was deleted after the move, or does it happen even when the folder still exists?
  • Is the revert logic looking up the folder path incorrectly (e.g. stale cached path, wrong path normalization)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions