You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Danny Robinson (JIRA)" <de...@myfaces.apache.org> on 2007/08/06 16:51:59 UTC

[jira] Created: (TRINIDAD-141) JavaScript error in TrNumberFormat setMaximumIntegerDigits and setMaximumFractionDigits

JavaScript error in TrNumberFormat setMaximumIntegerDigits and setMaximumFractionDigits
---------------------------------------------------------------------------------------

                 Key: TRINIDAD-141
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-141
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.2-core
            Reporter: Danny Robinson
             Fix For: 1.0.2-core


The following line in the setMaximumIntegerDigits function causes an 'value; undefined error.

    this._maxIntegerDigits = value < 0 ? 0 : number;

Line should read

    this._maxFractionDigits = number < 0 ? 0 : number;

Same fix is required for setMaximumFractionDigits.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-141) JavaScript error in TrNumberFormat setMaximumIntegerDigits and setMaximumFractionDigits

Posted by "Danny Robinson (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517962 ] 

Danny Robinson commented on TRINIDAD-141:
-----------------------------------------

Issue also existed on setMinimumIntegerDigits and setMinimumFractionDigits - fixed also.

> JavaScript error in TrNumberFormat setMaximumIntegerDigits and setMaximumFractionDigits
> ---------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-141
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-141
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.2-core
>            Reporter: Danny Robinson
>            Assignee: Danny Robinson
>             Fix For: 1.0.2-core
>
>
> The following line in the setMaximumIntegerDigits function causes an 'value; undefined error.
>     this._maxIntegerDigits = value < 0 ? 0 : number;
> Line should read
>     this._maxFractionDigits = number < 0 ? 0 : number;
> Same fix is required for setMaximumFractionDigits.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-141) JavaScript error in TrNumberFormat setMaximumIntegerDigits and setMaximumFractionDigits

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

Danny Robinson resolved TRINIDAD-141.
-------------------------------------

    Resolution: Fixed

Quick change as per issue description.

> JavaScript error in TrNumberFormat setMaximumIntegerDigits and setMaximumFractionDigits
> ---------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-141
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-141
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.2-core
>            Reporter: Danny Robinson
>             Fix For: 1.0.2-core
>
>
> The following line in the setMaximumIntegerDigits function causes an 'value; undefined error.
>     this._maxIntegerDigits = value < 0 ? 0 : number;
> Line should read
>     this._maxFractionDigits = number < 0 ? 0 : number;
> Same fix is required for setMaximumFractionDigits.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.