growi
growi copied to clipboard
Bug: Error on typing emoji
Environment
Host
item | version |
---|---|
OS | centos7 |
GROWI | 5.0.0 |
node.js | 16.14.2 |
npm | 8.5.0 |
Using Docker | yes |
Using growi-docker-compose | yes |
Client
item | version |
---|---|
OS | windows11 21H2 |
browser | chrome 102.0.5005.63(Official Build) |
How to reproduce? (再現手順)
Unknown(cannnot reproduce)
content at the time of occurrence
- There is a drawio diagram
- There is a table
- There is a decoration using bootstrap
What happens? (症状)
After typing : to enter a emoji, an error occurred and the article disappeared 😢
Error occured in ms TypeError: Cannot read properties of undefined (reading 'map')

Uncaught TypeError: Cannot read properties of undefined (reading 'map')
at nr (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:685748)
at br (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:690006)
at $r (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:697271)
at qr (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:697208)
at ol.prepareSelection (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:813327)
at Oi (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:711548)
at Si (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:710567)
at vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:710436
at Tn (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:679185)
at Ei (vendors.c18fdd0d2de2eb7a13fb.chunk.js:2:710364)

What is the expected result? (期待される動作)
No errors occur
I'm very sad that an hour was wasted. It would be nice to have an auto save feature.
@SIY1121 That too bad 😢 Could you upgrade GROWI to v5.0.8 and try to reproduce? We will investigate about it after you post the report.
It would be nice to have an auto save feature.
Exactly true. We will consider incorporating it into development milestones.
@SIY1121 v6.0.0 or above solve this.