Hi Tozier,
well, after your suggestion, I've also checked tables ost_form, ost_form_field, ost_form_entry and ost_form_entry_values.
First I've imported this file (a single line csv):
email,name,microsite,phone,address,zipcode,notes,city
pippo@example.com,pippo,22,0123456789,Rue Orangerie 8,12345,No particular notes,Neuchatel
Then I queried above tables:
`
MariaDB [lost_db]> select * from ost_user where name="pippo";
+------+--------+------------------+--------+-------+---------------------+---------------------+
| id | org_id | default_email_id | status | name | created | updated |
+------+--------+------------------+--------+-------+---------------------+---------------------+
| 6369 | 0 | 6369 | 0 | pippo | 2019-10-02 14:28:44 | 2019-10-02 14:28:44 |
+------+--------+------------------+--------+-------+---------------------+---------------------+
1 row in set (0.003 sec)
MariaDB [lost_db]> select * from ost_form_entry where object_id=6369;
+------+---------+-----------+-------------+------+-------+---------------------+---------------------+
| id | form_id | object_id | object_type | sort | extra | created | updated |
+------+---------+-----------+-------------+------+-------+---------------------+---------------------+
| 7689 | 1 | 6369 | U | 1 | NULL | 2019-10-02 14:28:44 | 2019-10-02 14:28:44 |
+------+---------+-----------+-------------+------+-------+---------------------+---------------------+
1 row in set (0.005 sec)
MariaDB [lost_db]> select * from ost_form_entry_values where entry_id=7689;
+----------+----------+---------------------+----------+
| entry_id | field_id | value | value_id |
+----------+----------+---------------------+----------+
| 7689 | 3 | 0123456789 | NULL |
| 7689 | 4 | No particular notes | NULL |
| 7689 | 41 | NULL | NULL |
| 7689 | 42 | Rue Orangerie 8 | NULL |
| 7689 | 43 | 12345 | NULL |
| 7689 | 44 | Neuchatel | NULL |
+----------+----------+---------------------+----------+
6 rows in set (0.001 sec)
MariaDB [lost_db]> select * from ost_form_field where form_id=1;
+----+---------+--------+--------+----------------+-----------+---------------------------------------------+------+------+---------------------+---------------------+
| id | form_id | flags | type | label | name | configuration | sort | hint | created | updated |
+----+---------+--------+--------+----------------+-----------+---------------------------------------------+------+------+---------------------+---------------------+
| 1 | 1 | 489379 | text | Email Address | email | {"size":40,"length":64,"validator":"email"} | 1 | NULL | 2019-09-10 12:29:28 | 2019-09-10 12:29:28 |
| 2 | 1 | 489379 | text | Name | name | {"size":40,"length":64} | 2 | NULL | 2019-09-10 12:29:28 | 2019-10-02 08:37:44 |
| 3 | 1 | 13057 | phone | Phone Number | phone | NULL | 4 | NULL | 2019-09-10 12:29:28 | 2019-09-24 14:53:29 |
| 4 | 1 | 12289 | memo | Internal Notes | notes | {"rows":4,"cols":40} | 7 | NULL | 2019-09-10 12:29:28 | 2019-10-02 08:33:09 |
| 41 | 1 | 13057 | list-4 | Microsite | microsite | NULL | 3 | NULL | 2019-09-24 14:53:14 | 2019-09-24 14:53:29 |
| 42 | 1 | 13057 | text | Address | address | NULL | 5 | NULL | 2019-10-02 08:28:21 | 2019-10-02 08:33:09 |
| 43 | 1 | 13057 | text | CAP | zipcode | NULL | 6 | NULL | 2019-10-02 08:32:52 | 2019-10-02 08:33:09 |
| 44 | 1 | 13057 | text | City | city | NULL | 8 | NULL | 2019-10-02 08:37:11 | 2019-10-02 08:37:11 |
+----+---------+--------+--------+----------------+-----------+---------------------------------------------+------+------+---------------------+---------------------+
8 rows in set (0.000 sec)
`
As you can see, the problem arises only for the 'list' field, other text fields get populated correctly.
I'd think something's not working with csv-imported list values (only).
Or I'm doing it somehow wrong... but I'm running out of ideas about what to check or try.
Thank you,
Filippo