Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26002

Spark Sort & SortField do not work when there is not style parent but locale style is set explicitly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      mySort = new Sort();
      mySort.setStyle("locale", "fr_FR");
      mySortField = new SortField();
      mySortField.setStyle("locale", "fr_FR");
      mySort.fields = [ mySortField ];
      myArrayCollection.sort = mySort;

      Actual Results:
      myArrayCollection sorts items in Unicode code order.

      Expected Results:
      myArrayCollection should be sorted in fr_FR (French spoken in French) order.

      Workaround (if any):
      Set style parent.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: