-
-
Notifications
You must be signed in to change notification settings - Fork 552
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
Entry Field with Slug "value" Breaks Statamic #2495
Comments
This issue is likely caused by A workaround would be to call the handle of the field something other than |
A field named |
Hey @damcclean thank you for the quick reply. This is what I did, I was just pointing out that at no point in the process does Statamic make this clear to me as a user. If it is reserved, then don't let me set it as a slug. Alternatively, as @jasonvarga replied, if it is NOT reserved, then I believe we need to fix something. Regardless, the issue has a place until one of those two things happens. Lloyd |
All good, I reopened the issue already. |
Note to self: I think the AugmentedEntry (and AbstractAugmented) class could have a list of proxyable methods rather than just checking everything. e.g. We'd want to proxy |
#3989 will add validation to prevent you from creating a field named value. I'm leaving this open though because I still think a field named value should be fine. |
…ue` field being present Due to statamic/cms#2495
Bug Description
Creating the field "Value" with slug "value" breaks something in the Statamic loading pipeline.
How to Reproduce
{{ collection:testing }}{{ /collection:testing }}
Antlers tag to your htmlExtra Detail
Error Produced:
Environment
Statamic 3.0.8 Solo
Laravel 6.18.35
PHP 7.4.9
statamic/ssg dev-master
(I cannot update to 3.0.11 because of another issue (#2456) still being worked on)
The text was updated successfully, but these errors were encountered: