Opened 8 years ago

Closed 8 years ago

#1425 closed defect (fixed)

MODS <namePart type="date"> imported as author

Reported by: ahoward Owned by: mcburton
Priority: major Milestone:
Component: translators Version: 1.5
Keywords: Cc:

Description

  • Some names are not coming through in the Zotero metadata record; only the date at the end of the name string appears. NACO Authority File names are often qualified by date.
  • Example: captured MODS for "Famous actresses of the day in America" from Aquifer, shows
    • Author: 1869-1935 , (first)

The MODS record has

<name type="personal">
<namePart>Strang, Lewis Clinton</namePart>
<namePart type="date">1869-1935</namePart>
<role>
<roleTerm authority="marcrelator" type="text">creator</roleTerm>
</role>
</name>

  • It appears that the code is dealing appropriately with MODS name/namePart elements that that have "family" or "given" attributes (mapping them to Zotero creator.lastName and creator.firstName elements), but then assumes that any other namePart subelement be stored in variable "backup name" and run through the Zotero "cleanAuthor" utility. This is probably designed for namePart elements with no attribute which (if in AACR2 form), have a form Lastname, Firstname M. I.

However, there are two other defined MODS namePart type attributes

that are not dealt with: @type=date and @type=termsOfAddress. These
need to be either specifically ignored, or mapped in to the end of
the name somehow (if this is possible in Zotero?). The results make
it appear that the Zotero translator is processing them through
"clean author" as if they were a name.

Change History (1)

comment:1 Changed 8 years ago by mcburton

  • Resolution set to fixed
  • Status changed from new to closed

(In [4323]) Fixes #1425, ignoring dates & termsOfAddress so they don't overwrite the author name.

Note: See TracTickets for help on using tickets.