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

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

Closed
wuhhh opened this issue Sep 18, 2024 · 2 comments
Closed

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

wuhhh opened this issue Sep 18, 2024 · 2 comments
Labels

Comments

@wuhhh
Copy link

wuhhh commented Sep 18, 2024

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

@brandonkelly
Copy link
Member

Thanks for reporting that! I just removed the delay on auto slug generation (as well as for other auto-generated inputs) for the next Craft 4 and 5 releases, so this shouldn’t be a problem any more going forward.

@brandonkelly
Copy link
Member

Craft 4.12.4 and 5.4.5 are out with that fix. Thanks again!

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

No branches or pull requests

2 participants