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

Francois Suter fsu-lists at cobweb.ch
Wed Nov 4 16:00:51 CET 2009


Hi,

> 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...

This issue is now addressed by RFC #12464: Bug: Reports: Sorting of 
status collections wrongly relies on localized strings

Please check it out and I'll come back to that one afterwards.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list