Automatic entity labels not replacing tokens

Created on 5 September 2023, over 1 year ago
Updated 7 September 2023, over 1 year ago

Problem/Motivation

On one of the last updates, automatic entity labels stopped working, editing a Person, the title just changes to

[givenName][familyName]

manually uninstalling and reinstalling Automatic Entity Labels and the Schema.org Automatic Entity Labels does not fix the issue. However, manually going to the "Automatic label" section of a given type and manually overriding to
[node:schema_given_name] [node:schema_family_name] does

Steps to reproduce

  1. Install Schema.org Automatic Entity Labels
  2. Create new Schema.org Person type
  3. Create a new Person, give it a given name and family name
  4. Watch how the node name is set to "[givenName][familyName]"

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @gpo
  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    I am not able to replicate this issue.

    All the business logic is contained in schemadotorg_auto_entitylabel_schemadotorg_mapping_insert() which converts [givenName] [familyName] to [node:schema_given_name] [node:schema_family_name].

    One guess is that givenName and familyName are not being mapped to the fields when the Schema.org mapping is being created.

  • Found the root of the issue, turned out to be specific for my setup, my apologies for not realizing it before submitting the issue.

  • Status changed to Closed: works as designed over 1 year ago
Production build 0.71.5 2024