memos icon indicating copy to clipboard operation
memos copied to clipboard

Cannot read properties of undefined (reading 'hasLink') error

Open hackey90 opened this issue 1 year ago • 2 comments

Describe the bug

I upgrade Memos from 0.21.0 to 0.22.4 when finished upgrade (use docker) , when I click the add comment button it will got following error :

Unexpected Application Error! Cannot read properties of undefined (reading 'hasLink') TypeError: Cannot read properties of undefined (reading 'hasLink') at MemoDetailSidebar (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:8127:94698) at Nh (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:68:18867) at Vk (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:70:48341) at Uk (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:70:43659) at Tk (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:70:43582) at Ik (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:70:43424) at Nk (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:70:39460) at Gk (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:70:38302) at Et (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:55:1729) at MessagePort.Nt (http://hackey.asuscomm.com:5230/assets/index-DJ8SSNFr.js:55:2141)

Steps to reproduce

1.upgrade 0.21.0 to 0.22.4 use docker 2. click the comment button at history note . 3. the website will jump to error page

The version of Memos you're using.

0.22.4

Screenshots or additional context

image image

hackey90 avatar Aug 22 '24 06:08 hackey90

and tags missing too

hackey90 avatar Aug 22 '24 07:08 hackey90

looks need reindex the notes

hackey90 avatar Aug 22 '24 07:08 hackey90

Might be fixed in v0.22.5. Please feel free to reopen this if issue still exists.

boojack avatar Sep 04 '24 13:09 boojack