You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/21 03:08:13 UTC
[jira] [Resolved] (FLEX-25045)
ResourceManager.getInstance().getString() returns "undefined" instead of
null
[ https://issues.apache.org/jira/browse/FLEX-25045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-25045.
----------------------------------
Resolution: Not A Problem
Fix Version/s: Apache Flex 4.10.0
Issue has been fixed in earlier version of SDK. findBundle returns null if resource not found and toString return null form that.
> ResourceManager.getInstance().getString() returns "undefined" instead of null
> -----------------------------------------------------------------------------
>
> Key: FLEX-25045
> URL: https://issues.apache.org/jira/browse/FLEX-25045
> Project: Apache Flex
> Issue Type: Bug
> Components: Runtime Localization
> Affects Versions: Adobe Flex SDK 3.5 (Release)
> Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Justin Mclean
> Labels: easyfix, easytest
> Fix For: Apache Flex 4.10.0
>
>
> Steps to reproduce:
> 1. Create a resource bundle with key value pairs
> 2. Load the resource bundle in your application and add them to the resourcemanager instance
> 3. Use the ResourceManager.getInstance().getString() method with a key that is not in the resource bundle and put the return value in a string
>
> Actual Results:
> The return value is undefined as a string
>
> Expected Results:
> The return (according to the docs) should be null
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira