History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-756
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Grant Drake
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
CruiseControl .NET

Bugs in Statistics CSV publishing (with lines to fix)

Created: 05/Oct/06 03:23 AM   Updated: 29/Oct/06 10:26 PM
Component/s: Publisher
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File StatisticsBuilder.patch (0.7 kb)



 Description  « Hide
Two bugs in the ThoughtWorks.CruiseControl.Core.Publishers.Statistics.StatisticsBuilder class...
First bug is it writes an extra column out for the headings that is not in the detail.
Second bug is the detail lines always have the statistics names and not the values.

Line 93
For writing CSV file headings... instead of:
writer.Write(", ");
should be:
if (i > 0) writer.Write(", ");


Line 105
For writing CSV files... instead of:
writer.Write(statistic.StatName);
should be:
writer.Write(statistic.Value);

 All   Comments   Work Log   Change History      Sort Order:
Grant Drake [11/Oct/06 12:14 PM]
Patch file for both bug fixes.

Owen Rogers [11/Oct/06 09:59 PM]
fixed in build 1.1.0.2520