Quantity token missing name property

Created on 10 December 2018, about 6 years ago
Updated 16 December 2023, about 1 year ago

Hello,

I found this while using another module that requires Entity Reference Quantity, but after testing I can confirm this error is occurring on this module.

When you create an entity reference field with quantity, the token :quantity for the field doesn't have a name, and the following warning message is displayed on Status Report page:

TOKENS OR TOKEN TYPES MISSING NAME PROPERTY

As you can see on attached screenshots, the referencing field does have tokens associated to it, but Quantity is missing name. This is happening for fields on content types and taxonomy terms - I didn't test it for other entity types.

I'm not sure if this token must be assigned on field creation or if some sort of hook_token_info_alter could solve that.

Regards,

Mauricio M. Silveira

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada maursilveira Windsor, ON

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024