Hi, I’m trying to import from csv’s through the importer, which does not work if my import includes a multi select field. After submitting my import file with a multi-select field present, I get a pop up warning with this text:
Import Errors:
WARNING: [2] Declaration of SugarFieldMultienum::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex) should be compatible with SugarFieldEnum::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0) on line 42 in file /var/www/vhosts/suite-stg-atm/include/SugarFields/Fields/Multienum/SugarFieldMultienum.php
Although the error on screen shows up as a warning, the importer stops in its tracks and no data is altered in the database.
I can re-create this error by exporting a single test record with some multi-select values checked off and then trying to reimport it.
Similar errors show up in SuiteCRM log:
Tue Nov 1 23:20:05 2016 [21339][1c1e692c-4bfd-f817-db98-56b1172c4a6c][FATAL] Caught error: Declaration of SugarFieldMultienum::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex) should be compatible with SugarFieldEnum::displayFromFunc($displayType, $parentFieldArray, $vardef, $displayParams, $tabindex = 0)
Tue Nov 1 23:20:05 2016 [21339][1c1e692c-4bfd-f817-db98-56b1172c4a6c][FATAL] Caught error: stat(): stat failed for upload/import/status_1c1e692c-4bfd-f817-db98-56b1172c4a6c.csv
Tue Nov 1 23:20:05 2016 [21339][1c1e692c-4bfd-f817-db98-56b1172c4a6c][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Tue Nov 1 23:20:05 2016 [21339][1c1e692c-4bfd-f817-db98-56b1172c4a6c][ERROR] File upload://import/status_1c1e692c-4bfd-f817-db98-56b1172c4a6c.csv cannot be touched
Should I be using a different separator for multi-select values or something? Any other suggestions?
Thanks!
Edit: Forgot to mention that I believe we’ve set permissions correctly in the file system. recommended permissions have been applied and the admin --> upgrade check passes with “all files writeable”.
__
SuiteCRM 7.7.6
System => Linux crm 3.10.0-327.36.3.el7.x86_64.
PHP Version => 7.0.11
mysql Ver 15.1 Distrib 10.1.17-MariaDB, for Linux (x86_64)