Thanks - two tickets, in fact. Shoulda thought to look there.
http://jira.public.thoughtworks.org/browse/CCRB-160
and
http://jira.public.thoughtworks.org/browse/CCRB-153
I applied the diff in 160 and all is right with the world.
On 11/21/07, Chad Woolley <[EMAIL PROTECTED]> wrote:
>
> I think somebody has a ticket and fix for this somewhere on Trac. I
> saw it, but don't have time to find it now...
>
> On 11/21/07, Steve Donie <[EMAIL PROTECTED]> wrote:
> > Howdy - I've been using cc.rb for a month or two now and just recently
> > updated to 1.2.1. All was fine until I added lines such as this to
> several
> > of my projects:
> >
> > # This build is triggered only by the successful completion of the
> named
> > project
> > project.triggered_by = [SuccessfulBuildTrigger.new(project,
> > "LightPermits")]
> >
> > I am trying to do the setup where some of the builds are not triggered
> by
> > svn checkins, but rather by a successful build of another project. In
> this
> > case, I want a fast unit test build, and then if that succeeds run the
> > slower integration tests.
> >
> > The problem I am seeing is that the webapp dashboard is now showing many
> > duplicates. Instead of the 6 projects that there should be, I am seeing
> 11.
> > Strange that it is 11 rather than 12 - it doesn't duplicate all of them
> - it
> > seems to not duplicate the one that is first alphabetically.
> >
> > I've attached a static html version (ccrb.html) of what the dashboard
> looks
> > like when it first loads - I got this by using a commandline tool called
> > graburl. What is interesting is that in both IE and Firefox, when this
> is
> > rendered, the first project is rendered differently from the others.
> Somehow
> > both IE and Firefox are seeing the first div end prematurely. I don't
> > understand why - I even pulled the HTML into an XML editor and the tags
> all
> > look balanced properly (although there are a couple of <br> tags that
> are
> > not self-closing.)
> >
> > When I view the dashboard in a real browser, I see this view for a few
> > seconds, and then I think what happens is the PeriodicalExecuter runs
> and
> > that is when the duplication happens.
> >
> > Looking at the javascript, I see this:
> >
> > page.replace_html('projects', :partial => 'project', :collection =>
> > @projects) unless @projects.empty?
> > page.replace_html('projects', :partial => 'no_projects') if @
> > projects.empty?
> >
> > in app/views/projects/index_js.rjs
> >
> > I'm a complete Ruby newbie, so any help with pointers for debugging
> things
> > would be welcome.
> > _______________________________________________
> > Cruisecontrolrb-users mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
> >
> >
> >
>
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users