Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1.create a mx:Sort and mx:SortField under "Declarations" tag. Set fields property of Sort to this SortField. Set name property of SortField to correct field name.
2.Set a compareFunction with incorrect return type, like Date, void.
3.Create an ArrayCollection instance and set Sort to created mx sort instance.
4.Call refresh() method of this ArrayCollection instance.
Actual Results:
No error popup. And the sort result will keep as not-sorted.
Expected Results:
An error popup to figure out compareFunction is not correct with signature.
Workaround (if any):
NOTE: Please see sample application code attached.