[TYPO3-core] RFC #12464: Bug: Reports: Sorting of status collections wrongly relies on localized strings

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


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12464

Branches:
Trunk

Problem:
In the status report of the Reports module, statuses are grouped into 
collections, which are in turn sorted alphabetically except for some 
"system" collections which should remain at the top of the report.

This separation of "primary" and "secondary" status collection wrongly 
relies on the localized labels of each collection, which will fail in 
other languages than English.

Solution:
Attached patch corrects that behavior and also makes the difference 
between primary and secondary status collections more explicit for 
improved clarity.

Notes:
1) In this patch I also propose replacing the "_install" key by "typo3", 
because the collection's name was changed to "TYPO3" in the meantime and 
having the key not match the label is confusing.
2) This patch addresses a couple of hard-coded labels issues which were 
absolutely necessary here. The rest will be handled in a revised version 
of RFC #12426.

Cheers

-- 

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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug12464.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091104/d7516e07/attachment.txt>


More information about the TYPO3-team-core mailing list