You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paresh Kumar Acharya (JIRA)" <de...@myfaces.apache.org> on 2012/08/07 13:03:07 UTC

[jira] [Created] (TRINIDAD-2299) f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

Paresh Kumar Acharya created TRINIDAD-2299:
----------------------------------------------

             Summary: f:convertnumber  throws error when the number input by user has leading or trailing grouping separator char
                 Key: TRINIDAD-2299
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2299
             Project: MyFaces Trinidad
          Issue Type: Bug
            Reporter: Paresh Kumar Acharya


The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with  grouping separator character even when type is set to number.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2299) f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452080#comment-13452080 ] 

Scott O'Bryan commented on TRINIDAD-2299:
-----------------------------------------

Paresh,

Can I please get you to fill out the affected versions and tell me where this patch needs to be committed?  Is this only for trunk (2.1.x) or for 2.0x as well? 
                
> f:convertnumber  throws error when the number input by user has leading or trailing grouping separator char
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2299
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2299
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Paresh Kumar Acharya
>         Attachments: 14380832.patch
>
>
> The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with  grouping separator character even when type is set to number.

--
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] (TRINIDAD-2299) f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

Posted by "Paresh Kumar Acharya (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453891#comment-13453891 ] 

Paresh Kumar Acharya commented on TRINIDAD-2299:
------------------------------------------------

The same patch is applicable also for trinidad 2.0.x .

                
> f:convertnumber  throws error when the number input by user has leading or trailing grouping separator char
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2299
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2299
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.1-core, 2.1.0-core
>            Reporter: Paresh Kumar Acharya
>         Attachments: 14380832.patch
>
>
> The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with  grouping separator character even when type is set to number.

--
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] (TRINIDAD-2299) f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454087#comment-13454087 ] 

Scott O'Bryan commented on TRINIDAD-2299:
-----------------------------------------

Committed to trunk 1384014
                
> f:convertnumber  throws error when the number input by user has leading or trailing grouping separator char
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2299
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2299
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.1-core, 2.1.0-core
>            Reporter: Paresh Kumar Acharya
>         Attachments: 14380832.patch
>
>
> The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with  grouping separator character even when type is set to number.

--
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] (TRINIDAD-2299) f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

Posted by "Paresh Kumar Acharya (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paresh Kumar Acharya updated TRINIDAD-2299:
-------------------------------------------

    Status: Patch Available  (was: Open)
    
> f:convertnumber  throws error when the number input by user has leading or trailing grouping separator char
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2299
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2299
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Paresh Kumar Acharya
>         Attachments: 14380832.patch
>
>
> The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with  grouping separator character even when type is set to number.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TRINIDAD-2299) f:convertnumber throws error when the number input by user has leading or trailing grouping separator char

Posted by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott O'Bryan updated TRINIDAD-2299:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-core
                   2.0.2-core
         Assignee: Scott O'Bryan
           Status: Resolved  (was: Patch Available)

Committed to 2.0.x 1384015
                
> f:convertnumber  throws error when the number input by user has leading or trailing grouping separator char
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2299
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2299
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.1-core, 2.1.0-core
>            Reporter: Paresh Kumar Acharya
>            Assignee: Scott O'Bryan
>             Fix For: 2.0.2-core, 2.1.0-core
>
>         Attachments: 14380832.patch
>
>
> The f:convertNumber tag generates conversion error(TrConverterException) when the number input by the end user has leading or trailing grouping separator character. These error is not thrown when the type attribute of this tag is set to either currency or percent. In order to have a consistent behavior the tag should not throw any error when the number starts with or ends with  grouping separator character even when type is set to number.

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