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

Umlaute in slugs do not convert as usual when using automatic titles #6985

Closed
helloDanuk opened this issue Nov 2, 2022 · 1 comment
Closed
Labels

Comments

@helloDanuk
Copy link
Contributor

Bug description

If I generate the title of a collection entry automatically with a configuration set in the collection settings…

Configure Collection

…and use this title afterwards for my slug slug in the blueprint
Edit Blueprint

…the slug converts german Umlaute not as usual. a ö ü becomes a o u instead of ae ou ue.

But if I dispense with automatic titles and use a single title field in my blueprint, the characters ä ö ü in the slug converts to ae oe ue, which is intentional and good.

You can see the difference in the two screenshots:

with automatic title

single title field

(In my usecase I would hide the slug field in the blueprint, but I would like to use the readable slug in the entry filename instead of the ID.)

How to reproduce

  • Create a collection and a blueprint with some text fields (like pre- and surname)
  • Use the pre- and surname fields in your title format in the collection settings
  • Add a new entry with Umlaute Ä Ö Ü
  • Compare the spelling of the generated slug with the slug of an entry from an other collection, where you enter the same name, but directly in the title field of the entry.

Logs

No response

Environment

Application Name: Statamic
Laravel Version: 9.38.0
PHP Version: 8.1.11
Composer Version: 2.4.3
Environment: local
Debug Mode: ENABLED
URL: test.test
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: stack / single
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 0
Antlers: regex
Version: 3.3.50 Solo

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

regex (default)

Additional details

No response

@duncanmcclean
Copy link
Member

Hey 👋

I'm unable to reproduce this issue on the latest version of Statamic. It looks like #9261 has fixed this.

I'm going to close this issue now. If you're still experiencing this issue, please leave a comment and we can re-open the issue. Thanks!

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