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
Upgrading to 3.7.21 breaks custom field #10205
Comments
Try deleting your |
Thanks for the reply. Unfortunately, the error remains after deleting |
Are you 100% sure you’ve spelled the field handle correct, and are using the correct casing? If so, please send in a database backup and your |
I am 100% as switching back to an older version of Craft makes it work perfectly, then switching back to 3.7.21 breaks it again. The custom field code never changes in between switches. Thanks for the offer of looking into this. I'll discuss this with my team on Monday, as this regards a fairly large project including custom modules and (business) code. Without these custom modules (the field affected by this issue being one of them) you cannot reproduce it I'm afraid. |
If it helps, we might be able to reproduce with just your project config data, rather than a full DB backup. If you want to go that route, just run |
Done! I have justed tarred the |
Thanks! We were able to reproduce, and have fixed this for the next release. To get the fix early, change your |
Craft 3.7.26 is out now with that fix. |
Description
I have a custom field which holds a Lat/Lng coordinate of an entry.
After upgrading Craft to 3.7.21 I get the following output when querying the field:
It suddenly does not know that
myCoordinate
is a field on the entry.When I downgrade back to 3.7.20 everything works as expected.
The entity query I am doing is pretty straightforward:
Did something change between 3.7.20 and 3.7.21 which could cause custom fields to be treated differently in entry queries?
Additional info
The text was updated successfully, but these errors were encountered: