You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jon Christiansen (JIRA)" <ji...@codehaus.org> on 2006/12/15 20:50:40 UTC

[jira] Created: (MPDASHBOARD-37) coberturalipc.jelly aggregator code needs additional logic to prevent NaN% value (which causes final dashboard jsl to fail)

coberturalipc.jelly aggregator code needs additional logic to prevent NaN% value (which causes final dashboard jsl to fail)
---------------------------------------------------------------------------------------------------------------------------

                 Key: MPDASHBOARD-37
                 URL: http://jira.codehaus.org/browse/MPDASHBOARD-37
             Project: maven-dashboard-plugin
          Issue Type: Bug
    Affects Versions: 1.9
         Environment: Windows XP/Java 1.5.0_10/Maven 1.1RC1
            Reporter: Jon Christiansen
         Attachments: coberturalipc_jelly.patch

When I ran dashboard across all my projects, there were several projects where the generated corbetura coverage.xml file did not have the elements that are referenced in coberturalipc.jelly, so it would generate output for that artifact to be:   NaN%, which then causes the processing in dashboard.jsl to fail when it sees the %, it assumes its a valid number.

To correct this, I used the attached patch to further verify the result is not NaN before tacking on a % sign, if it is I set the result of 0.

Attached is a patch to fix this issue.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MPDASHBOARD-37) coberturalipc.jelly aggregator code needs additional logic to prevent NaN% value (which causes final dashboard jsl to fail)

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDASHBOARD-37?page=all ]

Lukas Theussl updated MPDASHBOARD-37:
-------------------------------------

         Assignee: Lukas Theussl
    Fix Version/s: 1.10

> coberturalipc.jelly aggregator code needs additional logic to prevent NaN% value (which causes final dashboard jsl to fail)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MPDASHBOARD-37
>                 URL: http://jira.codehaus.org/browse/MPDASHBOARD-37
>             Project: maven-dashboard-plugin
>          Issue Type: Bug
>    Affects Versions: 1.9
>         Environment: Windows XP/Java 1.5.0_10/Maven 1.1RC1
>            Reporter: Jon Christiansen
>         Assigned To: Lukas Theussl
>             Fix For: 1.10
>
>         Attachments: coberturalipc_jelly.patch
>
>
> When I ran dashboard across all my projects, there were several projects where the generated corbetura coverage.xml file did not have the elements that are referenced in coberturalipc.jelly, so it would generate output for that artifact to be:   NaN%, which then causes the processing in dashboard.jsl to fail when it sees the %, it assumes its a valid number.
> To correct this, I used the attached patch to further verify the result is not NaN before tacking on a % sign, if it is I set the result of 0.
> Attached is a patch to fix this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira