Closed lotarbo closed 8 months ago
Also, i have several blueprints in Page, and some of them have hero_title as text field. This errors only in Navigation. If i have field Entries with linked Page collection in example Globals, there are no error.
Can you open that entry okay in the Control Panel? Can you share the contents of the entry's file?
Everywhere work, only in Navigation error. When i changed field name to unique in collection Page like hero_title_list - no error in navigation
Hey 👋
I'm unable to reproduce this issue on the latest version of Statamic. I copied the entries & blueprints into my Statamic site and attempted to add them to a nav, which worked without any issues.
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!
Bug description
I have Navigation where I attach Page collection. Some pages have List field, like hero_title. When i click Link to Entry i got this
How to reproduce
Add List field to page, with at least 2 items. Create Navigation and attach Page collection. Try Link Entry to navigation
Logs
Versions
Statamic 3.3.4 Pro Laravel 9.6.0 PHP 8.1.4
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
As i can see in the error, Text field trying to proceed List field.
Statamic\\Fieldtypes\\Text->preProcessIndex(Array)
in this file i add this
and whoop, dd shows me array value from List field