This is fixed in later Wicket 1.4.x and 1.5.x

On Tue, Jan 25, 2011 at 9:34 AM, Martin Makundi <
[email protected]> wrote:

> Hi!
>
> I suspect also bug with Page class. Sometimes our page stalls when
> user stays long time on page.
>
> /** Used to create page-unique numbers */
>        private short autoIndex;
>
>
> **
> Martin
>
> 2010/11/15 Martin Makundi <[email protected]>:
> > 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 <[email protected]>:
> >> Hi!
> >>
> >> Is there a resolution to this bug/issue listviews with
> >> setreuseitems=true but with radiochoice have some problems:
> >>
> >> * http://www.mail-archive.com/[email protected]/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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to