Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK 3.1 (Release)
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Steps to reproduce:
1. create empty resourcebundle for given locale
2. call
ResourceManager.getInstance().getString(bundleName, resourceName, parameters, currentLocale)
Actual Results:
returns the string "undefined" (not the value undefined!, it's really a String)
Expected Results:
returns a null value as specified by the ResourceManager.getString(...) documentation
Workaround (if any):
if (resourceName in ResourceManager.getInstance().getResourceBundle(locale, bundleName).content) { return ResourceManager.getInstance().getResourceBundle(locale, bundleName).content[resourceName]; }