[TYPO3-core] RFC #12426: Code cleanup: Reports: Hard-coded strings for collections in status reports

Steffen Kamper info at sk-typo3.de
Tue Nov 3 00:29:54 CET 2009


Hi,

Francois Suter schrieb:
> Forget about this v2. It actually causes an error, due to the unused 
> label that wasn't really unused. However I'm embarrassed as to how to 
> solve that, because this bug points to an ugly piece of code in 
> tx_reports_reports_Status::sortStatusProviders(). This uses localized 
> strings as key in the array, but then those strings are used (in 
> English!) within that method. This will utterly fail when those strings 
> are actually localized...
> 
:o incredible.

> So I need to think about how best to solve this and I'll come up with a 
> patch for that first. Then we can get back to the localization issue 
> itself.
> 

i look tomorrow if i can help.
Didn't we had a simular issue in reports that was fixed already?

vg Steffen


More information about the TYPO3-team-core mailing list