In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
713 [In-Portal CMS] Data Management bug report always 2010-04-26 06:26 2010-07-31 14:01
closed 5.0.3-B2  
no change required  
Fixes minor bug in Language System for reusing LanguageIds
0000713: Language system is not using available LanguageId when new language is added
In some cases when I have 3 Languages, ie - English, Russian, German and then I delete Russian. My next added language will have ID of 4 since the following method is used:

 SELECT MAX(LanguageId)
    FROM Language
    LIMIT 0,1

keeping empty (open for usage) ID 2 from old Russian. In a perfect world it would be great to reuse them so we don't end up with adding more and more lN_ Fields to ALL tables.
Issue History
2010-07-31 14:01 Dmitry Note Added: 0002637
2010-07-31 14:01 Dmitry Status active => closed
2010-07-31 14:01 Dmitry Resolution open => no change required
2010-04-26 06:30 Dmitry Reference =>
2010-04-26 06:30 Dmitry Change Log Message => Fixes minor bug in Language System for reusing LanguageIds
2010-04-26 06:26 Dmitry New Issue

2010-07-31 14:01   
No change required so we leave everything as is.

Refer to this -