Good afternoon.

I'm having troubles when I run and OAI-PMH import. All the records information is harvested correctly, except the title, instead of the original title, the importer is filling with the word "Array" in all the records.

Anybody knows why this is happening?.

Comments

dcam’s picture

My guess is that the records include multiple dc:title elements. Dublin Core allows for multiples of any element. I've been looking through the module code and it's set up to only support one title, probably because Drupal nodes can only have one title. Seeing "Array" in a field is a common occurrence when code is given multiple values in an array, but it was expecting a single string. That's certainly the case here. This could be considered a bug, though I don't know the best way to resolve it at this time.

dcam’s picture

Assigned: DanielG5 » Unassigned
Issue tags: -title, -array, -field, -error, -import, -oai, -pmh

BTW, assigning an issue to yourself usually means that you're actively working on a patch, flagging it so that other people know that they can move on and work on other issues.