Problem
Fields of types which use a computed main property such as Geolocation can't be indexed.
This was working correctly with an older version of the module, but seems the helper that extracts the values has gone through some refactoring.
Solution
A small patch and a test.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | fix_computed_fields_value_extraction_2.patch | 3.04 KB | simeonkesmev |
| #2 | fix_computed_fields_value_extraction_1.patch | 3.7 KB | simeonkesmev |
Comments
Comment #2
simeonkesmev commentedComment #3
fuduley commentedPatch from #2 works fine for me
Comment #4
drunken monkeyThanks for reporting this problem!
Please provide a patch that applies, though, so I can test/reproduce.
Also, do you happen to know a version where this worked, to verify?
Comment #5
simeonkesmev commentedSeems the actual issue was fixed by f1ea46415f27293a0e1737e57e29d51831630be3, as #3157397 seems to have been addressed first.
You can optionally just add the test, otherwise the ticket can be closed.
Comment #7
drunken monkeyAh, good to hear. Thanks for reporting back!
And yes, the test looks great, thanks! (Also fails when reverting
f1ea46415f, so that’s good, too.)Committed.