memos
memos copied to clipboard
When rename pictures in Resources, all exist notes with pictures referenced will be broken
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
- publish a note with a picture
- go to resources and change the name of that picture
- return to main page, we find note like following:
- 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
Where are your resources stored? database? local? Or S3?
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.