-
-
Notifications
You must be signed in to change notification settings - Fork 607
Description
Bug description
We have a headline field as Bard, because we need superscript and subscript numbers in our titles. We switched the title field from a text field to a hidden field since Statamic always requires a field with the handle title. We created a Bard field headline and told the collection config to generate the title based on the {headline}. In our source language, if I click save, the slug gets generated properly. When I switch to the other language and type in another title and hit save, the slug doesnt get updated.
May be better to understand in this video:
statamic-slug-generate-multisite-bug.mov
Sometimes, when I use [cmd]+[s] on first creation it actually works, but I cant figure out any patterns behind it.
Do you have any ideas or maybe workarounds?
Best regards!
How to reproduce
- Create a multisite statamic
- Create a Bard field
headlinein your collection. - Tell your collection to generate the
titlefrom{headline}. - Hide the title Field in your blueprint
- Create an entry and type in the headline -> the slug should be generated after clicking save.
- Localize this entry and type in another headline -> the slug stays the same after clicking save.
Logs
No response
Environment
Environment
Application Name: Statamic
Laravel Version: 10.10.0
PHP Version: 8.2.6
Composer Version: 2.5.4
Environment: local
Debug Mode: ENABLED
URL: isasev.test
Maintenance Mode: OFF
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: null
Cache: redis
Database: mysql
Logs: stack / single, slack
Mail: log
Queue: redis
Session: file
Statamic
Addons: 4
Antlers: runtime
Stache Watcher: Disabled
Static Caching: Disabled
Version: 4.6.0 PRO
Statamic Addons
elvenstar/statamic-meilisearch: dev-main
visuellverstehen/statamic-classify: 2.6.1
visuellverstehen/statamic-content-renderer: 0.1.1-beta
visuellverstehen/statamic-picturesque: 1.2.0Installation
Other (please explain)
Antlers Parser
runtime (new)
Additional details
No response