User: jaza Branch: HEAD Date: Tue, 29 Aug 2006 17:10:19 +0000 Modified files: /modules/importexportapi/definitions importexportapi_profile.inc importexportapi_user.inc /modules/importexportapi/engines importexportapi_db_put.inc /modules/importexportapi/fields importexportapi_array.inc importexportapi_datetime.inc importexportapi_freeform.inc importexportapi_serialized.inc /modules/importexportapi importexportapi.module /modules/importexportapi/testdata user_data.xml user_data_keyless.xml Log message: - Modified hook_engines_get_put() - ENGINES can now specify some default 'process' callbacks, which are executed on an entire set of data BEFORE field-specific process callbacks are executed. - Changed the default parameters of the 'process' callback, to include the new 'source_get' parameter, which allows 'put' callbacks to work out the 'get' engine that was used to retrieve the data that they're dealing with. - Modified all existing 'process' callback implementations to use the new parameter format. - the importexportapi_db_put_resolve_alternate_keys() function is now a 'process' callback of 'db' 'put', instead of being called by the importexportapi_db_put() function. This means that alternate keys now get resolved BEFORE field-specific 'db' 'put' 'process' callbacks are executed, which fixes a problem that I was having with user profile fields not getting processed properly on import. - Import is now working much better, but is still quite buggy (compared with export, which is quite reliable). Need to do some more work on the 'db' 'put' engine. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/de... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/de... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/en... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/fi... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/fi... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/fi... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/fi... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/im... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/te... http://cvs.drupal.org/diff.php?path=contributions/modules/importexportapi/te...