unit test?

On 9/29/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
(the mailinglist seems borked again, so I'm sending this again).

I think I stumbled upon a bug in Wicket's fragments + ajax.

Here's the exception I get:

Caused by: java.lang.IndexOutOfBoundsException: Index: 294, Size: 294
      at java.util.ArrayList.RangeCheck (ArrayList.java:546)
      at java.util.ArrayList.get(ArrayList.java:321)
      at wicket.markup.MarkupFragment.get(MarkupFragment.java:96)
      at wicket.markup.Markup.get(Markup.java:155)
      at wicket.markup.MarkupStream.get(MarkupStream.java:337)
      at wicket.markup.MarkupStream.setCurrentIndex(MarkupStream.java:205)
      at wicket.markup.html.panel.Fragment.renderFragment(Fragment.java:264)
      at wicket.markup.html.panel.Fragment.onComponentTagBody(Fragment.java:200)
      at wicket.Component.renderComponent(Component.java :1696)
      ... 38 more

The usecase is the following:

I have 2 fragments in my page. One of them gets rendered with the
first page render, the other is rendered on an ajax request. The
second time an ajax request tries to render the second fragment
everything goes right.

When I render both fragments on the first page render, everything goes OK.

Martijn

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to