I have some data that I am importing/exporting via CSV.
I have the following scheme in products.post.php
$schema['export_fields'][__("ez_wo_adjustments")] = array( 'db_field'=>'ez_wo_adjustments', 'process_put' => array ('ez_wo_exim_import_adjustments', '#key', '#row', '#new'), 'process_get' => array('ez_wo_exim_export_adjustments', '#this'), 'return_result' => true );
The ez_wo_exim_import_adjsutments() takes string data, parses it and then returns a serialized array that I expect to be stored in the ez_wo_adjustments field in the products table.
However, it is storing the string value from the import file.
I've verified that fn_import() is correctly seeing the data in this statement (I.e. $result has the proper value)
$import_data[$k][$lang][$group['return_field']] = $result;
I'm kind of stumped on why it's not storing the serialized array().
Anyone with a clue?