Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot map an entity reference field in a Paragraph to the "author" or any other "name" CSL variable #72

Open
dara2 opened this issue May 10, 2024 · 0 comments

Comments

@dara2
Copy link

dara2 commented May 10, 2024

I have Person data in a Paragraph, in an entity reference field connected to the Person vocabulary. I’d like to map the Person entity reference field in the Paragraph to be the “author” in the citation. I did this:

  • Selected “Map from Entity” in the paragraph reference field.
  • In the Paragraph > Paragraph Type > Person entity reference field > set the CSL field as “author”

But I don’t see any names in the citation block.
This is what I have in my object, and “Dara Virks” is a term within Person taxonomy.
Screenshot 2024-05-03 at 10 33 29 AM
This is how I mapped the Person Name field in my paragraph type:
Screenshot 2024-05-10 at 10 37 50 AM
And this is the setting in my “Person Bundle” paragraph field in the Repository Item content type:
Screenshot 2024-05-03 at 10 35 50 AM

I talked with Akanksha about this and she said:

the author (or any CSL name variable) not being rendered is a bug. This is a problem with using author in anything other than typed relation. Since we use typed relation field for author we never really tested it with vanilla entity reference. In CSL, name fields have to be formatted differently and the formatting is done only for typed relation right now. I’ll raise a quick PR for this later today.

So it sounds like this is a bug. I'm opening this issue in case it helps. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant