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

Key: CCRB-160
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Rolf Russell
Reporter: Chris Roos
Votes: 1
Watchers: 1
Operations

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

A dashboard with 6 or more projects breaks in Firefox

Created: 10/Oct/07 05:13 AM   Updated: 21/Nov/07 07:54 PM
Component/s: Dashboard
Affects Version/s: None
Fix Version/s: 1.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Mac Os X 10.4.10, Firefox 2.0.0.7, Cruisecontrolrb trunk revision 543.


 Description  « Hide
There is a condition in app/views/projects/index.rhtml that checks to see if there are 5 projects or less. If there are, it renders the project partial for each project. If there are more then it renders the project partial for each project inside a <table> tag. This results in a duplicated list of projects in Firefox. Simply removing the conditional results in the intended project list. This problem doesn't occur in Safari. I've created a patch here[1]. As an aside, I think you can use render :partial => 'project', :collection => @projects instead of iterating over the projects.

[1] http://pastie.caboo.se/105696

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.