Skip to content

[5.x]: Dynamic slug for matrix owned entries get truncated #15754

@wuhhh

Description

@wuhhh

What happened?

Description

I have a matrix entry URI in the format {owner.uri}/{slug}. When I quickly create entries via the matrix (in place), the slug is often truncated - this seems to be because the slug has not finished generating based on the title value before I save the entry.

Steps to reproduce

  1. Create a matrix field that has a dynamic slug such as {owner.uri}/{slug}
  2. Quickly create entries in place

Expected behavior

Should not be allowed to save an entry before its slug has generated

Screen.Recording.2024-09-18.at.17.13.41.mov

Craft CMS version

5.4.4

PHP version

8.2.18

Operating system and version

Linux 6.10.7-orbstack-00280-gd3b7ec68d3d4

Database type and version

MySQL 8

Image driver and version

No response

Installed plugins and versions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions