flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jon yeargers (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-33825) Default mx:DateField missing format
Date Tue, 15 Oct 2013 14:12:45 GMT
jon yeargers created FLEX-33825:
-----------------------------------

             Summary: Default mx:DateField missing format
                 Key: FLEX-33825
                 URL: https://issues.apache.org/jira/browse/FLEX-33825
             Project: Apache Flex
          Issue Type: Bug
          Components: mx: DateField
    Affects Versions: Apache Flex 4.10.0
            Reporter: jon yeargers


After upgrade from Flex 4.7 to 4.10 mx:DateField controls are not displaying correctly. 

Usage:<mx:DateField id="startDate" formatString="YYYY-MM-DD"/>

When date icon is clicked the resultant calendar has two 'null' values in the header. Clicking
on a date gives the following stack trace:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.validators::DateValidator$/validateDate()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/validators/DateValidator.as:203]
	at mx.validators::DateValidator/doValidation()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/validators/DateValidator.as:1476]
	at mx.validators::Validator/processValidation()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/validators/Validator.as:1020]
	at mx.validators::Validator/validate()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/validators/Validator.as:953]
	at mx.validators::Validator/triggerHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/validators/Validator.as:1175]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:13412]
	at mx.controls::ComboBase/textInput_valueCommitHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/ComboBase.as:1697]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:13412]
	at mx.controls::TextInput/set text()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/TextInput.as:1646]
	at mx.controls::DateField/dateFiller()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/DateField.as:2542]
	at mx.controls::DateField/dropdown_changeHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/DateField.as:2752]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:13412]
	at mx.controls::DateChooser/dateGrid_changeHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/DateChooser.as:3354]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/framework/src/mx/core/UIComponent.as:13412]
	at mx.controls::CalendarLayout/http://www.adobe.com/2006/flex/mx/internal::dispatchChangeEvent()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/CalendarLayout.as:1800]
	at mx.controls::CalendarLayout/mouseUpHandler()[/Users/justinmclean/Documents/ApacheFlex4.10/frameworks/projects/mx/src/mx/controls/CalendarLayout.as:2516]




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message