You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to upload emojis in the Emoji Manager return an error, though appears to be successful after refreshing the page. Also occurs when importing remote emoji.
ERR * [api] Internal error occurred in admin/emoji/copy: Cannot read properties of undefined (reading 'set') {
ep: 'admin/emoji/copy',
ps: { emojiId: '9ywgrqcmltaf01f3', i: '[REDACTED]' },
e: {
message: "Cannot read properties of undefined (reading 'set')",
code: 'TypeError',
stack: "TypeError: Cannot read properties of undefined (reading 'set')\n" +
' at CustomEmojiService.add (file:///cherrypick/packages/backend/built/core/CustomEmojiService.js:91:24)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at async file:///cherrypick/packages/backend/built/server/api/endpoints/admin/emoji/copy.js:98:32\n' +
' at async ApiCallService.call (file:///cherrypick/packages/backend/built/server/api/ApiCallService.js:395:20)',
id: 'df11ba81-2a62-49a8-b701-ae2145412d19'
}
}
📝 Steps to Reproduce
Go to "Manage Custom Emojis" (/custom-emojis-manager)
Click the plus (+) icon at the top right
Click "Add just one"
Click "Select a file" and select a file.
Click "Create"
-- OR --
Go to "Manage Custom Emojis" (/custom-emojis-manager)
Click "Remote" tab at the top
Click on one of the listed remote emojis
Click "Import"
💻 Frontend Environment
* Model and OS of the device(s): Lenovo P15 Gen2, Windows 11 Enterprise 23H2 22631.4169
* Browser: Vivaldi 6.9.3447.44 (Stable channel) (64-bit)
* Server URL: https://kitty.social/* CherryPick: 4.12.0-beta.7 (Misskey: v2024.9.0)
🛰 Backend Environment (for server admin)
* Installation Method or Hosting Service: Docker
* CherryPick: 4.12.0-beta.7 (Misskey: v2024.9.0)
* Node: v20.16.0
* PostgreSQL: 17.0 (Debian 17.0-1.pgdg120+1)
* Redis: 7.4.0
* OS and Architecture: Ubuntu 24.04.1 LTS amd64
Issue is also present in CherryPick release 4.11.1 using compose_example.yml.
Do you want to address this bug yourself?
Yes, I will patch the bug myself and send a pull request
The text was updated successfully, but these errors were encountered:
💡 Summary
Attempting to upload emojis in the Emoji Manager return an error, though appears to be successful after refreshing the page. Also occurs when importing remote emoji.
May be related to #487.
🥰 Expected Behavior
Emoji uploads successfully, and appears in the emoji manager immediately afterwards.
🤬 Actual Behavior
Uploading emoji:
Importing emoji from remote server:
📝 Steps to Reproduce
-- OR --
💻 Frontend Environment
🛰 Backend Environment (for server admin)
Do you want to address this bug yourself?
The text was updated successfully, but these errors were encountered: