When I create a custom field in Korean such as "입고일"(Stocked Date).
Then I can create a custom field "출고일"(Reserved Date).
I created a custom field in Korean such as "입고일".
Then I try to create a custom field "출고일".
But it was not working with a message "Field was not created, please try again."
So I try to insert the custom filed into MySQL manually.
It was working, but causes another problem.
Value of the two fields is same always.
Changing one field, the other field also changes.
app/storage/logs and your webserver's logs.This is an excellent bug report; thank you.
As a workaround, try and see if you can find a way to append something unique - like, try this -
입고일_1
출고일_2
The problem is, mysql field names need to be in ASCII, and we translate anything not a-z, A-Z, 0-9 into _. So that means the custom fields system will translate your fields into _ _ _ or maybe _ _ _ _ - which easily conflicts, as you can see.
The balance we're trying to weigh here is that it's much easier to administer the database if your custom field "Reserved Date" shows up in the database as _snipeit_reserved_date - but it is terrible for non Latin scripts, and that's a flaw I made when I made it.
Having looked into it, and playing around with it in MySQL 5.6, it looks like that restriction on names is unnecessarily strict -
mysql> create table test (💩 text);
ERROR 1300 (HY000): Invalid utf8 character string: '\xF0\x9F\x92\xA9'
mysql> create table test (출고일 text);
Query OK, 0 rows affected (0.04 sec)
mysql> insert into test values ('hi there');
Query OK, 1 row affected (0.01 sec)
mysql> select * FROM test;
+-----------+
| 출고일 |
+-----------+
| hi there |
+-----------+
1 row in set (0.00 sec)
So I can probably change the translation algorithm going forward. Also while I'm in there I need to handle #1683 - setting a maximum limit, and still trying to keep the names unique.
The migrations are going to be awful for this, though. That, I am definitely not looking forward to.
I _will_ have to prevent users from creating field names with Emoji in them, though. (As evidenced by the first test failing).
(Memo to self) MySQL schema name limits - and lengths - are here: http://dev.mysql.com/doc/refman/5.5/en/identifiers.html
It looks like it's worked this way since at least 5.5

uberbrady is uber buddy!
Many thanks :D
It's been four months since i reported the bug.
How is it going?
When we have progress to report, we will update the ticket.
Most helpful comment
uberbrady is uber buddy!
Many thanks :D