memos icon indicating copy to clipboard operation
memos copied to clipboard

When rename pictures in Resources, all exist notes with pictures referenced will be broken

Open hpsls opened this issue 2 years ago • 1 comments

Describe the bug

When rename pictures in Resources, all exist notes with pictures reference will be broken. Can be reproduced in LiveDemo.

Steps to reproduce

  1. publish a note with a picture
  2. go to resources and change the name of that picture
  3. return to main page, we find note like following: image
  4. reedit the note, just press resources in the bottom of editbox, we can find renamed picture associated with this note, click ok, the note will restore normal

Screenshots or additional context

No response

hpsls avatar Mar 22 '23 04:03 hpsls

Where are your resources stored? database? local? Or S3?

Zeng1998 avatar May 08 '23 02:05 Zeng1998

Just database, I recall there was an update of memos(0.12?) changed my storage config to local, so I change that back manually. At that time I read the source code of api and checked the response is correct, so maybe the bug may occur at the front end. Now with the latest version, I can't reproduce the bug, so THX, I will close this issue.

hpsls avatar Aug 26 '23 16:08 hpsls