プロジェクト

全般

プロフィール

Vote #79852

未完了

Error when creating issue with emoji in description

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
30848
author_id:
386433
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
145
ステータス-->[New]

説明

When creating issue with emoji in description, it will return error. Here is the log:

[[Completed 500 Internal Server Error in 54ms (ActiveRecord: 12.9ms)

ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value: '\xF0\x9F\x98\x84\xF0\x9F...' for column 'description' at row 1:
INSERT INTO issues (tracker_id, project_id, subject, description, status_id, priority_id, author_id, created_on, upda
ted_on
, start_date, lock_version) VALUES (14, 111, 'Tes Emoji', 'Test ', 1
, 2, 39, '2019-02-20 13:39:02', '2019-02-20 13:39:02', '2019-02-20', 0)):
]]


journals

--------------------------------------------------------------------------------
We can reproduce this on our Redmine 4.0.7 setup, with an emoji in the title of the issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,31921,Changes to properly support 4 byte characters (emoji) when database is MySQL
relates,Closed,35879,mail handler failing when smilies inline

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0