Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 961CF10CA1 for ; Sun, 28 Apr 2013 23:28:16 +0000 (UTC) Received: (qmail 84872 invoked by uid 500); 28 Apr 2013 23:28:15 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 84841 invoked by uid 500); 28 Apr 2013 23:28:15 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 84826 invoked by uid 99); 28 Apr 2013 23:28:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Apr 2013 23:28:15 +0000 Date: Sun, 28 Apr 2013 23:28:15 +0000 (UTC) From: "Justin Mclean (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-16656) DateField format string causes null value in selectedDate 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-16656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Mclean updated FLEX-16656: --------------------------------- Labels: easyfix easytest (was: ) > DateField format string causes null value in selectedDate > --------------------------------------------------------- > > Key: FLEX-16656 > URL: https://issues.apache.org/jira/browse/FLEX-16656 > Project: Apache Flex > Issue Type: Bug > Components: mx: DateField > Affects Versions: Adobe Flex SDK 3.1 (Release) > Environment: Affected OS(s): Mac > Affected OS(s): Linux RedHat 4 > Browser: Safari > Language Found: English > Reporter: Adobe JIRA > Labels: easyfix, easytest > > Steps to reproduce: > 1. Create a DateField with the following (or similar) MXML: > 2. Build and run, select a date in the popup, then use the flex builder variable inspector to inspect the selectedDate property of the DateField > 3. > > Actual Results: > The date is formatted as expected, but when I try the access the selectedDate property, it is null. If I remove the format string, or set it to something that includes the date, such as "MM/DD/YY," it functions correctly. > > Expected Results: > I expected the DateField's selectedDate property to contain a Date object representing the selected date, no matter how it is being formatted for display > > Workaround (if any): > don't use a format string > Note: I apologize if this is a duplicate report... when I tried searching for an existing it pulled up 160 results, I skimmed through them and looked at a coupe of promising ones, but did not see this bug. -- 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