Hi!

We have a suspect for the cause of this bug. The Radio is using a
SHORT counter which has maximum limit of approx 32000. Funny also it
checks if uuid is initialized, only from its sign. So when you have
enough radioactivity to reach much over 32000, you get negative values
and it stops working.

So we propose fix:

Radio:
  private Short uuid; // null = uninitialized

  public String getValue()
  {
    if (uuid == null)
    {
      uuid = getPage().getAutoIndex();
    }
    return "radio" + uuid;
  }



We will commit quickstart to reproduce bug and also patch to jira later today.


**
Martin

2010/11/2 Martin Makundi <martin.maku...@koodaripalvelut.com>:
> Hi!
>
> Is there a resolution to this bug/issue listviews with
> setreuseitems=true but with radiochoice have some problems:
>
> * http://www.mail-archive.com/users@wicket.apache.org/msg06560.html
> * 
> http://apache-wicket.1842946.n4.nabble.com/RadioGroup-test-fails-td1912239.html
> * 
> http://stackoverflow.com/questions/4074028/in-wicket-how-can-i-create-radiogroups-that-are-not-defined-by-component-hierarc
> * http://web.archiveorange.com/archive/v/yH01cVJ9vM4gdgpzRJVp
> * http://www.techienuggets.com/Comments?tx=122883
>
> For me it occurs in production:
> 1. First it works ok,
> 2. After a while user begins getting this error and has difficulty
> getting rid of it
>
> Could it have someting to do with session? Can it timeout before real session?
>
> I would be happy to reproduce this but it is very hard to reproduce. I
> see this on production logs and discussing with users they say that
> "it stops working suddenly" so they don't know what they are doing
> wrong.
>
> Really nasty.
>
> **
> Martin
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to