Dear Lars, I have fixed the problem that I presented in the previous mail. So, can I commit the modified source to trunk ???
Btw, about the bug which was presented by Thuy is in progress ... I will try to finish this as soon as possible. Thanks ! 2009/10/20 Hieu Dang Duy <[email protected]> > Dear Lars, > > Can you have a quickly view at "*DefaultI18nService.java*" file into *** > dhis-i18n-db* package ? > > I wanna ask you about the method is > "Map<String, String> *convertTranslations*( Collection<Translation> > translations )" > > I think that this method which is ONLY RIGHT if and only if the specified > Collection contains only one and only one result that returned from * > getTranslations()* or one Translation object with an another > understanding. Although, this method returns a collection of Translation > objects. > > That means is convertTranslations() method will return only ONE unique KEY > for ONE unique VALUE which is contained into Map. > > So, what will be happened if we have got a Collection that contains so many > Translation objects but the same properties (such as: name, shortname, > description, etc...). > > I have an suggestion for that issue. We should make a combinative key > between the object's ID and object's property. And the key will have a form > as <Integer, String>. > > How about your opinion on this problem ? > Is that a real problem as I think or maybe I'm wrong ? > > Thank you so much ! > > -- > Hieu.HISPVietnam > Good Health ! > -- Hieu.HISPVietnam Good Health !
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

