Description:
There is a state conflict between the reminder trigger and the "Discard changes" action. If a user opens a previously saved note (which contains an image and an upcoming reminder) and waits for the reminder to trigger while the note is open, clicking "Discard changes" afterwards breaks the attachment.
When reopening the note and tapping the image, a Toast shows "Attachment not found", indicating the file or its database reference was incorrectly deleted.
steps to reproduce:
- create a note with image
- set a reminder for this note (e.g., after one minute)
- back to the note list
- enter the note again
- wait until the reminder reminds you
- click the options button in this note
- click "Discard changes"
- enter the note again
- Tap the image thumbnail
- see the error: a toast shows that "Attachment not found", and the image fails to open
Expected behavior:
It should open the image without showing the toast.
screenshot
Environment:
Omninotes Version: 6.3.1
Description:
There is a state conflict between the reminder trigger and the "Discard changes" action. If a user opens a previously saved note (which contains an image and an upcoming reminder) and waits for the reminder to trigger while the note is open, clicking "Discard changes" afterwards breaks the attachment.
When reopening the note and tapping the image, a Toast shows "Attachment not found", indicating the file or its database reference was incorrectly deleted.
steps to reproduce:
Expected behavior:
It should open the image without showing the toast.
screenshot
Environment:
Omninotes Version: 6.3.1