Ticket #4021 (new defect)

Opened 18 months ago

Last modified 14 months ago

Import / Export plugins must be able to cope with any types of field (single, multiple ...)

Reported by: sf03r@… Owned by:
Priority: unset Milestone: EPrints 3.4.0
Component: - Version:
Severity: normal Keywords:
Cc:

Description

A French customer asked for 'title', 'abstracts' and 'keywords' to be multiple fields which breaks most of the Import and Export plugins (as they all expect single values).

We need to add a generic assignement method that will cope with any kind of fields eg:

$epdata->{fieldname} = $self->normalise_field_value( 'fieldname', $fieldvalue);

this method could transform an ARRAY ref into a SCALAR and vice-versa, making the import / export mechanism more robust. I'm happy helping.

Seen on Import/DOI, Import/BibTex?, and most Export plugins.

Change History

Changed 14 months ago by tdb01r

  • milestone changed from EPrints 3.3.9 to EPrints 3.4.0
Note: See TracTickets for help on using tickets.