Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D67CA90FD for ; Wed, 10 Dec 2014 18:30:14 +0000 (UTC) Received: (qmail 92334 invoked by uid 500); 10 Dec 2014 18:30:14 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 92309 invoked by uid 500); 10 Dec 2014 18:30:14 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 92300 invoked by uid 99); 10 Dec 2014 18:30:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 18:30:14 +0000 Date: Wed, 10 Dec 2014 18:30:14 +0000 (UTC) From: "Chris Martin (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-25045) ResourceManager.getInstance().getString() returns "undefined" instead of null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-25045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Martin updated FLEX-25045: -------------------------------- Description: 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 along with a local and put the return value in a string {code:html} {code} Actual Results: The return value is undefined as a string Expected Results: The return (according to the docs) should be null was: 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 {code:html} {code} Actual Results: The return value is undefined as a string Expected Results: The return (according to the docs) should be null > 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: Chris Martin > 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 along with a local and put the return value in a string > {code:html} > > {code} > > Actual Results: > The return value is undefined as a string > > Expected Results: > The return (according to the docs) should be null -- This message was sent by Atlassian JIRA (v6.3.4#6332)