craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.22k stars 627 forks source link

[3.2] Slug not being generated if using auto-generated title #4373

Closed rogertinch closed 5 years ago

rogertinch commented 5 years ago

Description

One of our sections uses an auto-generated title based on values in other fields. While creating a new entry the title is correctly generated, but the slug is not generated.

Steps to reproduce

  1. Create new entry in a section that has an auto-generated entry title.
  2. Update entry and see that title is generated, but not the slug.

Additional info

brandonkelly commented 5 years ago

Thanks for reporting that! Fixed for the next release.

rogertinch commented 5 years ago

@brandonkelly this still doesn't seem to be working correctly in beta 2. I created a new entry, the title is auto-generated from the "Short Headline" field and I saved it. The slug is rendered incorrectly as test:

image

It should render as test-promo-slide-2 in the above example.