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

Key: CCNET-899
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ross Patterson
Reporter: Scott Dorman
Votes: 2
Watchers: 1
Operations

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

Bug in CC.NET dashboard last build label column

Created: 24/Apr/07 06:28 AM   Updated: 29/Sep/09 02:26 PM
Component/s: Dashboard, CCTray, Labeller
Affects Version/s: 1.2.1
Fix Version/s: 1.4

Original Estimate: 1 week Remaining Estimate: 1 week Time Spent: Unknown
File Attachments: None
Image Attachments:

1. screenshot-cctray.jpg
(27 kb)

2. screenshot-webdashboard.jpg
(56 kb)
Environment: Windows Server 2003 on VMware Server, Subversion hosted at Sourceforge
Issue Links:
Relationship
This issue Relates to:
CCNET-928 LastSuccessfulIntegrationLabel lags b... Major Closed
This issue Relates to:
CCNET-948 Build labels for CCTray are out of sy... Trivial Closed


 Description  « Hide
I think we have identified a bug in CC.NET that shows a difference between using the XmlStatusReport.aspx and remoting for displaying project data. In our case, the last build of the SubText-2.0 project failed, so the "LastSuccessfulIntegrationLabel" element in the project state file shows 2.0.0.161, while the "Label" element shows 2.0.0.162.
 
As you can see by the CCTray image (which is configured using the XmlStatusReport.aspx page, it shows the correct label. However, the web dashboard (which uses remoting) shows the wrong label. The state file looks like this:
<IntegrationResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ProjectName>SubText-2.0</ProjectName>
  <ProjectUrl>http://haacked.dyndns.org/ccnet/server/local/project/SubText-2.0/ViewProjectReport.aspx&lt;/ProjectUrl> <BuildCondition>IfModificationExists</BuildCondition>
  <Label>2.0.0.162</Label>
  <WorkingDirectory>[omitted]</WorkingDirectory>
  <ArtifactDirectory>[omitted]</ArtifactDirectory>
  <StatisticsFile>report.xml</StatisticsFile>
  <Status>Failure</Status>
  <LastIntegrationStatus>Failure</LastIntegrationStatus>
  <LastSuccessfulIntegrationLabel>2.0.0.161</LastSuccessfulIntegrationLabel>
  <StartTime>2007-04-22T23:49:36.75-07:00</StartTime>
  <EndTime>2007-04-22T23:57:38.6875-07:00</EndTime>
</IntegrationResult>



 All   Comments   Work Log   Change History      Sort Order:
Scott Dorman [24/Apr/07 06:32 AM]
CCTray using XmlStatusReport.aspx, which shows the correct build label.

Scott Dorman [24/Apr/07 06:33 AM]
Web dashboard showing the incorrect label.

Ketan Padegaonkar [11/May/07 07:08 AM]
I've encountered a similar problem with version 1.3.0.2732 of CCNET.

The build label reported in XmlStatusReport.aspx is different from what is reported in the dashboard (and also CCTray)

Ross Patterson [05/Dec/07 02:31 PM]
The LastSuccessfulIntegrationLabel was laggin behind by one build if the current build was successful. Fixed by SVN revision #3534.