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

Saving re-named entry with deleted slug doesn't re-generate a new correct slug #4518

Closed
jamiewade opened this issue Jul 10, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@jamiewade
Copy link

commented Jul 10, 2019

Description

When you take an existing entry, re-name it, delete the contents of the slug field and hit save, the slug goes back to how it used to be.

It should re-generate a slug based off the new title of the entry.

Steps to reproduce

  1. Re-name an existing entry (don't hit save)
  2. Delete the contents of the slug field
  3. Save the entry

bug

Additional info

  • Craft version: 3.2.0
  • PHP version: 7.2.17
  • Database driver & version: MySQL 5.7.26
@jerome2710

This comment has been minimized.

Copy link

commented Jul 11, 2019

Subscribing, I found this to be an issue as well.

@brandonkelly

This comment has been minimized.

Copy link
Member

commented Jul 12, 2019

Just fixed this for the next release.

To get the fix early, change your craftcms/cms requirement in composer.json to:

"require": {
  "craftcms/cms": "dev-develop#14301610b2746a19b3fa7b3976f9446661329b81 as 3.2.1",
  "...": "..."
}

Then run composer update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.