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

André van Toly made changes - 2012-02-13 16:58
Field Original Value New Value
Description 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 am changing this to org.mmbase.util.LocalizedString.getDefault();
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.
André van Toly made changes - 2012-06-11 22:52
Status Open [ 1 ] Resolved [ 5 ]
Resolution Cannot Reproduce [ 5 ]

People

Dates

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