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]: Entry types that were converted from Matrix block types should have the slug hidden by default #15379

Closed
MoritzLost opened this issue Jul 18, 2024 · 1 comment
Labels

Comments

@MoritzLost
Copy link
Contributor

What happened?

Description

During the upgrade to Craft 5, all matrix block types are converted to entry types. Entry types have options to show the title and slug fields, which matrix blocks don't have. By default, the option Show the Slug field is active for the converted entry types, which doesn't make sense. Slugs aren't used for those entry types (yet), since they didn't exist before. So showing the slug field by default is just confusing and doesn't add anything useful.

Steps to reproduce

  1. Upgrade a site with a matrix field to Craft 5 and check the converted matrix blocks (entry types).

Expected behavior

The conversion should turn off the option to show the slug field, similar to the option to show the title.

Actual behavior

The option to show the slug field is turned off for the converted entry types.

Craft CMS version

5.6.8

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

@MoritzLost MoritzLost added the bug label Jul 18, 2024
brandonkelly added a commit that referenced this issue Jul 18, 2024
@brandonkelly
Copy link
Member

Good call, just made that change for Craft 5.3.

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