You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Frédéric THOMAS (JIRA)" <ji...@apache.org> on 2012/11/18 09:54:11 UTC

[jira] [Created] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Frédéric THOMAS created FLEX-33269:
--------------------------------------

             Summary: testcase for sort function of Sort without SortField set to fields property on spark:List component fails
                 Key: FLEX-33269
                 URL: https://issues.apache.org/jira/browse/FLEX-33269
             Project: Apache Flex
          Issue Type: Sub-task
          Components: Mustella
            Reporter: Frédéric THOMAS


testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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

[jira] [Updated] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Posted by "Frédéric THOMAS (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frédéric THOMAS updated FLEX-33269:
-----------------------------------

    Attachment: FLEX-33269.patch

I removed my old patch, wasn't the true cause.
Investigate further, I finaly understood the goal of this test, the is wathever I set the locale style of the Sort to nothing or an invalid one, I shoud have the sorting in the locale of the computer which was en-US and now, to run it on different localized computers, I changed it to flash.system.Capabilities.language
                
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33269
>                 URL: https://issues.apache.org/jira/browse/FLEX-33269
>             Project: Apache Flex
>          Issue Type: Sub-task
>          Components: Mustella
>            Reporter: Frédéric THOMAS
>         Attachments: FLEX-33269.patch
>
>
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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

[jira] [Commented] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Posted by "Frédéric THOMAS (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLEX-33269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499647#comment-13499647 ] 

Frédéric THOMAS commented on FLEX-33269:
----------------------------------------

       <TestCase testID="SF_Sort_fields_without_sortfield_invalid_locale_test_9" description="testcase for sort function of Sort without SortField set to fields property on spark:List component" keywords="[Sort, SortField, spark:List, set locale, fields property, without SortField, set invalid locale value: part of locale, not a locale ]">
            <setup>
                <ResetComponent target="uiCustomListComp" className="newComps.CustomListComp" waitEvent="updateComplete" waitTarget="uiCustomListComp"/>
                <SetStyle target="uiCustomListComp.mySort" styleName="locale" valueExpression="value=''"/>
                <SetProperty target="uiCustomListComp" propertyName="listDataProvider" valueExpression="value=application.uiCustomListComp.dataComp.myAddressStrArr"/>
                <SetProperty target="uiCustomListComp" propertyName="flashCollatorLocale" value="en"/>
                <SetProperty target="uiCustomListComp.listDataProvider" propertyName="sort" valueExpression="value=application.uiCustomListComp.mySort"/>
                <RunCode code="application.uiCustomListComp.listDataProvider.refresh()" waitEvent="collectionChange" waitTarget="uiCustomListComp.listDataProvider"/>
            </setup>
            <body>
                <AssertStyleValue target="uiCustomListComp.mySort" styleName="locale" valueExpression="value=''"/>
                <AssertMethodValue method="value=SFConstant.getArrayOfField(application.uiCustomListComp.listValueField, application.uiCustomListComp.listDataProvider);" valueExpression="value=application.uiCustomListComp.flashSortedArray"/>
                <SetStyle target="uiCustomListComp.mySort" styleName="locale" valueExpression="value='notLocale'"/>
                <RunCode code="application.uiCustomListComp.listDataProvider.refresh()" waitEvent="collectionChange" waitTarget="uiCustomListComp.listDataProvider"/>
                <SetProperty target="uiCustomListComp" propertyName="flashCollatorLocale" value="en"/>
                <AssertMethodValue method="value=SFConstant.getArrayOfField(application.uiCustomListComp.listValueField, application.uiCustomListComp.listDataProvider);" valueExpression="value=application.uiCustomListComp.flashSortedArray"/>
            </body>
        </TestCase>

My computer is in French, the flashCollatorLocale="en" has no effect, the only way this test pass is setting the flashCollatorLocale="fr", I don't know how to resolve that
                
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33269
>                 URL: https://issues.apache.org/jira/browse/FLEX-33269
>             Project: Apache Flex
>          Issue Type: Sub-task
>          Components: Mustella
>            Reporter: Frédéric THOMAS
>
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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

[jira] [Updated] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Posted by "Frédéric THOMAS (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frédéric THOMAS updated FLEX-33269:
-----------------------------------

    Comment: was deleted

(was: Ok, I got it, it was because the mySort:Sort didn't have the styleClient attached. resolved.)
    
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33269
>                 URL: https://issues.apache.org/jira/browse/FLEX-33269
>             Project: Apache Flex
>          Issue Type: Sub-task
>          Components: Mustella
>            Reporter: Frédéric THOMAS
>         Attachments: FLEX-33269.patch
>
>
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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

[jira] [Updated] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Posted by "Frédéric THOMAS (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frédéric THOMAS updated FLEX-33269:
-----------------------------------

    Attachment:     (was: FLEX-33269.patch)
    
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33269
>                 URL: https://issues.apache.org/jira/browse/FLEX-33269
>             Project: Apache Flex
>          Issue Type: Sub-task
>          Components: Mustella
>            Reporter: Frédéric THOMAS
>
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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

[jira] [Comment Edited] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Posted by "Frédéric THOMAS (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FLEX-33269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13499812#comment-13499812 ] 

Frédéric THOMAS edited comment on FLEX-33269 at 11/18/12 2:35 PM:
------------------------------------------------------------------

I removed my old patch, wasn't the true cause.
Investigate further, I finaly understood the goal of this test, the test is: wathever I set the locale style of the Sort to nothing or an invalid one, I shoud have the sorting in the locale of the computer. Which was en-US until now, to run it on different localized computers, I changed it to flash.system.Capabilities.language
                
      was (Author: doublefx):
    I removed my old patch, wasn't the true cause.
Investigate further, I finaly understood the goal of this test, the is wathever I set the locale style of the Sort to nothing or an invalid one, I shoud have the sorting in the locale of the computer which was en-US and now, to run it on different localized computers, I changed it to flash.system.Capabilities.language
                  
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33269
>                 URL: https://issues.apache.org/jira/browse/FLEX-33269
>             Project: Apache Flex
>          Issue Type: Sub-task
>          Components: Mustella
>            Reporter: Frédéric THOMAS
>         Attachments: FLEX-33269.patch
>
>
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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

[jira] [Updated] (FLEX-33269) testcase for sort function of Sort without SortField set to fields property on spark:List component fails

Posted by "Frédéric THOMAS (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FLEX-33269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frédéric THOMAS updated FLEX-33269:
-----------------------------------

    Attachment: FLEX-33269.patch

Ok, I got it, it was because the mySort:Sort didn't have the styleClient attached. resolved.
                
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33269
>                 URL: https://issues.apache.org/jira/browse/FLEX-33269
>             Project: Apache Flex
>          Issue Type: Sub-task
>          Components: Mustella
>            Reporter: Frédéric THOMAS
>         Attachments: FLEX-33269.patch
>
>
> testcase for sort function of Sort without SortField set to fields property on spark:List component fails

--
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