Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | biblio-name-parser-throws-exception-on-single-word-d7-2420623-1.patch | 765 bytes | cspitzlay |
Comments
Comment #1
cspitzlayHere is the patch.
Comment #3
byronveale CreditAttribution: byronveale commentedThis was committed but not closed…