MMBase

getLocale() in LanguageDataType returns often Cloud Locale and not preferred one of user

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: DataTypes
  • Description:
    Hide
    Which is normally not what you want since the Cloud locale is mmb.getLocale() (locale of MMBase installation or Java) if it is not specifically set.

    I would like to change it to org.mmbase.util.LocalizedString.getDefault();

    Presuming the first node someone cares to create is in his or her default language.
    Show
    Which is normally not what you want since the Cloud locale is mmb.getLocale() (locale of MMBase installation or Java) if it is not specifically set. I would like to change it to org.mmbase.util.LocalizedString.getDefault(); Presuming the first node someone cares to create is in his or her default language.

Activity

People

Dates

  • Created:
    2012-02-08 14:25
    Updated:
    2012-06-11 22:52
    Resolved:
    2012-06-11 22:52