Machine-readable name cannot be longer than 25 characters but is currently 27 characters long

Created on 3 May 2024, 7 months ago
Updated 17 May 2024, 6 months ago

Problem/Motivation

When trying to learn this module, I went to create the Person type and get the error message:

Machine-readable name cannot be longer than 25 characters but is currently 27 characters long.

It seems to be due to the unmapped field 'agentInteractionStatistic'. Even though I am not mapping anything to it, just trying to use the default configuration, it complains as if I am. I could only determine it was the cause after looking for overly long Schema.org property names and seeing which one it was by adding a field to it.

Steps to reproduce

  1. Go to /admin/structure/types/schemadotorg
  2. Click "Person" in the Quick Start list
  3. Immediately scroll to the bottom and click save, accepting defaults
  4. Get the error message.
  5. Scroll back down, click "Show unmapped", and scroll to "agentInteractionStatistic"... see nothing is selected. Click "select or add field" and "Add a new field...", see the machine-readable name bordered red with the error.

Proposed resolution

Not sure. I'm guessing some validation for unused fields is failing as if they are being used?

πŸ› Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States dalemoore

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024