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

assets don't get renamed/moved #1030

Closed
ZebraVogel94349 opened this issue Dec 3, 2023 · 0 comments
Closed

assets don't get renamed/moved #1030

ZebraVogel94349 opened this issue Dec 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ZebraVogel94349
Copy link
Contributor

ZebraVogel94349 commented Dec 3, 2023

Describe the bug

When renaming a note with assets, the asset files don't get renamed, resulting in the images missing in the note and, depending on the OS, an error message like PathNotFoundException: Cannot retrieve length of file, path=/home/user//Saber/test2.sbn2.0

EDIT: Moving a note with assets also results in the assets not being moved.

To reproduce

  1. Create a note and import a PDF file or an image.
  2. Save the note.
  3. Rename the note.
  4. Close and reopen the note. The images will be missing.

Expected behavior

Renaming the assets to have the same name as the sbn2 file, apart from the extension.

Saber version

v.0.18.3

Device

  • Device: Samsung Galaxy Tab S7 FE / PC
  • OS: Android 13 / Linux Mint 21.1

Anything else?

No response

@ZebraVogel94349 ZebraVogel94349 added the bug Something isn't working label Dec 3, 2023
@ZebraVogel94349 ZebraVogel94349 changed the title assets don't get renamed assets don't get renamed/moved Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant