Problem/Motivation

When importing a BibTeX I would expect that the usual bibkey (in the first line of an entry) is imported as "Citation key", but (at least for me) it seems that the value is ignored.

Remarks

  • Under https://yoursite/admin/structure/bibcite/reference/settings the default setting is
    Citation key pattern = bibcite_[bibcite_reference:id]
  • You will need some way to check the "Citation key" value, for instance
    • by creating a custom view including "Citation key" or
    • by monitoring database contents (table bibcite_reference_revision__bibcite_citekey, field bibcite_citekey_value)

Steps to reproduce

You will get a publication with the title "Innovative Paper Title" and something like Citation key = "bibcite_123" (automatically generated, whereas I would expect that Citation key = "Alpha2025Innovative" (from line 1 of imported file), based on the mapping "key" -> "Citation Key".

If you add an extra field "key" with the expected value, then you get the expected value in "Citation key".

You will get a publication with the title "Innovative Paper Title" and something like Citation key = "Alpha2025Innovative"

Issue fork bibcite-3537046

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

goetz created an issue. See original summary.

mark_fullmer made their first commit to this issue’s fork.

mark_fullmer’s picture

Version: 3.0.0-beta5 » 3.0.x-dev

Thanks for reporting this. I've added a MR that, during import, correctly denormalizes the BibTex-style citation key, when present, using the existing fallback if not present, and, during export, populates the citationkey from the stored value during normalization.

mark_fullmer’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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