Closed (fixed)
Project:
Localization server
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2025 at 12:37 UTC
Updated:
20 Sep 2026 at 15:15 UTC
Jump to comment: Most recent
Comments
Comment #3
tstoecklerSee #3541994: Fix CI for the CI failures.
I went with the minimal fix for now by just replacing all the non-aggregated fields with a
MAX(...)expression. That works because there should only be a single result anyway, but it's not functionally dependent so MySQL doesn't know that.It's not very pretty, but it works, but I'm definitely open to suggestions.
Comment #4
teebeecoder commentedHi @tstoeckler,
I won’t merge this for now, since this function is only used once in L10nCommunityLanguagesController.php. I’m currently optimizing its performance, so I’ll revisit it early next week to decide whether to keep the method as-is or simplify how we retrieve this count.
Comment #5
tstoecklerThanks for all the merges in the other issues, that's really great!
Absolutely no worries, I just wanted to get something working locally for now, so even better if you're able to improve the code beyond what I did.
Comment #7
gábor hojtsyFound this with my LLM when I was running tests locally. It suggested a sensible rewrite of the query as subquery instead of group by. I'll do a performance evaluation later which may undo this in some form as it sounds scary on the face of it. But keeping that for now as it works :)