flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLEX-33825) Default mx:DateField missing format - selecting date crashes app
Date Fri, 18 Oct 2013 13:13:41 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799077#comment-13799077
] 

Justin Mclean edited comment on FLEX-33825 at 10/18/13 1:12 PM:
----------------------------------------------------------------

allowedFormatChars is a property on DateValidator which it looks like the RTE is coming from,
it defaults to "/\-. " not null so I'm not entirely sure how you are getting that RTE. I can't
currently reproduce it. Any chance you could post the code to a sample application that shows
the issue?


was (Author: jmclean):
allowedFormatChars is a property on DateValidator which it looks like the RTE is coming from,
it defaults to "/\-. " not null so I'm not entirely sure how you are getting that RTE. I can't
currently reproduce it. Any chance you code post the code a sample application that shows
the issue?

> Default mx:DateField missing format - selecting date crashes app
> ----------------------------------------------------------------
>
>                 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
>         Attachments: not-working.png, working.png
>
>
> 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