Open isangil opened 10 years ago
Answer may be in Line 288 in eml.module:
list($pasta_user) = explode(':', token_replace(variable_get('eml_pasta_user', 'uid=[site:station-acronym],o=LTER,dc=ecoinformatics,dc=org')), 2);
we made a fix for this... involved this function
function eml_dataset_get_package_id($node) {
$pattern = variable_get('eml_package_id_pattern', 'knb-lter-[node:field-user-account:name].[node:field_data_set_id].[node:field_eml_revision_id]');
The ILTER network uses the node-data-set author as part of the EML packageID scope. For example,
knb-lter-italy.2345234.23432
Currently, the EML web service config does not allow the token [user:name] to be part of the packageID, so we need to change that.