I have several instances of author names that consist of only a single word in the Bibtex import.
For example:

...
author = {Elliot, David J and Suharjono and Lewis, Benjamin C and Gillam, Elizabeth M J and Birkett, Donald J and Gross, Annette S and Miners, John O},
...

The second author name "Suharjono" causes an exception to be thrown which results in an empty entry in the table biblio_contributor_data

+------+-----+----------+------------+-----------+----------+-----------+--------+--------+----------+-------------+---------+------+
| cid  | aka | alt_form | drupal_uid | name      | lastname | firstname | prefix | suffix | initials | affiliation | literal | md5  |
+------+-----+----------+------------+-----------+----------+-----------+--------+--------+----------+-------------+---------+------+
| 2037 |   0 |        0 |       NULL | Suharjono |          |           |        |        |          |             |       0 | NULL |
+------+-----+----------+------------+-----------+----------+-----------+--------+--------+----------+-------------+---------+------+
1 row in set (0.01 sec)

I will post a patch that addresses this problem.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cspitzlay’s picture

Title: Name parser throws exception if author name consists of a single word » [PATCH] Name parser throws exception if author name consists of a single word
Status: Active » Needs review
FileSize
765 bytes

Here is the patch.

  • rjerome committed 8029f0c on 7.x-1.x authored by cspitzlay
    Issue #2420623 by cspitzlay: [PATCH] Name parser throws exception if...
byronveale’s picture

Status: Needs review » Fixed

This was committed but not closed…

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.