- last update
12 months ago Unable to generate test groups - last update
12 months ago Unable to generate test groups - π¦πΉAustria drunken monkey Vienna, Austria
Thanks a lot for reporting this problem, and even finding a pretty good fix. Sorry it took me a while to get back to you, I had an insane backlog of issues.
In any case, I still see two problems with your patch:
- It only addresses the case when field values are already set on the result items (e.g., because the Solr backend was used with corresponding configuration), not when the values need to be newly extracted.
- That
$combined_id
must match the field ID is actually not a requirement, and thus not necessarily the case. When fields are extracted for Views, for instance, I donβt think this holds. (Since Views also extracts values of properties that arenβt even fields on the index.) Therefore, this new code should only be used as a tie breaker if more than one field matches the given datasource and property path.
The attached patch should fix both of those problems and also includes a regression test. Please test/review!
And, again, thanks for your work!PS: It seems you (like many others β it's really easy to misinterpret) are confused by the "Issue tags" field. As the guidelines β state, they aren't meant for free text tags related to the issue, but only for specific categorization purposes, usually by module maintainers.
So, if you aren't sure your current usage is correct, please just leave the field empty. - last update
12 months ago 545 pass, 2 fail - last update
12 months ago 545 pass, 1 fail The last submitted patch, 7: 3291409-7--excerpt_with_multiple_aggregated_fields--tests_only.patch, failed testing. View results β
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.The last submitted patch, 7: 3291409-7--excerpt_with_multiple_aggregated_fields.patch, failed testing. View results β
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- last update
11 months ago 546 pass - last update
11 months ago 546 pass - last update
11 months ago 546 pass - π¦πΉAustria drunken monkey Vienna, Austria
Test fail was a fluke, this is still up for testing/reviewing.
- π¦πΉAustria drunken monkey Vienna, Austria
@Tomefa: Could you please test the patch so I can commit?
- Status changed to RTBC
9 months ago 8:39am 13 February 2024 - π©πͺGermany Tomefa Dresden
Test the patch, and the excerpt is now actually better than with the previous patch.
Great work @drunken-monkey
-
drunken monkey β
committed a9328f9d on 8.x-1.x
Issue #3291409 by drunken monkey, Tomefa: Fixed excerpts generated from...
-
drunken monkey β
committed a9328f9d on 8.x-1.x
- Status changed to Fixed
9 months ago 4:03pm 18 February 2024 - π¦πΉAustria drunken monkey Vienna, Austria
Good to hear, thanks a lot for reporting back.
Merged. Thanks again! Automatically closed - issue fixed for 2 weeks with no activity.