Bug description
I have moved some elements in the Nav around and this resulted in following change in /resources/preferences.yaml:
nav:
sections:
footer:
action: '@create'
display: Footer
items:
'content::collections::social_media': '@move'
'content::collections::sponsoren': '@move'
'content::collections::co_sponsoren': '@move'
Now "sponsoren" is not the handle of the collection. The title is Sponsoren but the handle is sponsors (we're strictly separating between German for anything customer facing in the cp and English for anything code-related).
When I rename the Title of the collection, but leave the handle the same, the moved section stops working.
How to reproduce
- Create a collection with a title that is different from its handle
- Move the section around in the CP Nav
- Check
preferences.yaml
Logs
Environment
Environment
Laravel Version: 12.62.0
PHP Version: 8.5.6
Composer Version: 2.10.0
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: de
Statamic
Addons: 6
License Key: Set
Sites: 3 (🇩🇪 Deutsch, 🇫🇷 Français, 🇬🇧 English)
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.23.0 PRO
Installation
Existing Laravel app
Additional details
No response
Bug description
I have moved some elements in the Nav around and this resulted in following change in
/resources/preferences.yaml:Now "sponsoren" is not the handle of the collection. The title is
Sponsorenbut the handle issponsors(we're strictly separating between German for anything customer facing in the cp and English for anything code-related).When I rename the Title of the collection, but leave the handle the same, the moved section stops working.
How to reproduce
preferences.yamlLogs
Environment
Installation
Existing Laravel app
Additional details
No response