When you add a contributor, in exceptional cases, the author only has a name, no "First name" or no "Last name". "Last name" is a mandatory field in Bibcite. So when this case happens to me I put the name in mandatory field "Last name". Examples:

Kalidasa, Muhamad, Bansky, Anonymous, etc.

When APA presentations are listed you get this:

Mahoma,. (1954). El Koran (2a. ed., p. 868). Madrid: Aguilar.

After Muhammad prints a comma and then a period, when there should only be one period. Can this be solved in any way?

Thank you.

Issue fork bibcite-3155552

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Rafael Cansinos created an issue. See original summary.

mark_fullmer’s picture

Title: Contributor, problem with punctuation in APA format » Contributor with no first or middle name results in incorrect processing (e.g., APA format)

mark_fullmer’s picture

Version: 8.x-1.x-dev » 3.0.x-dev
Status: Active » Needs review

Thanks for reporting this. This is indeed due to problematic logic in the module, which always adds a space to the "Given Name" even if there is no first name and last name. I've created a merge request that resolves this issue.

mmarler’s picture

Status: Needs review » Reviewed & tested by the community

Code change looks good and works in both Drupal 10 and 11. Changing status to RTBC.

  • mark_fullmer committed 655be6b3 on 3.0.x
    Issue #3155552: Contributor with no first or middle name results in...
mark_fullmer’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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