On 2020/04/09 10:58:13, Martin Grigorov <mgrigo...@apache.org> wrote: 
> Hi,
> 
> Why do you need to use PageManager ?
> By default WicketTester uses MockPageManager without a backing PageStore.

That was the simplest workaround I could find; for sure, without the 
workaround, e.g. with simple "new WicketTester()" I have the behavior described 
below.

Regards.
 
> On Thu, Apr 9, 2020 at 1:20 PM Francesco Chicchiriccò <ilgro...@apache.org>
> wrote:
> 
> > Hi all,
> > at Syncope we have been upgrading our Console and Enduser web applications
> > from Wicket 8 to 9.0.0-M5, in our master branch.
> >
> > The process have been quite smooth effectively, with a single noticeable
> > exception: in our tests we largely use WicketTester; we have verified,
> > however, that Pages in the MockPageStore are incrementing their numericId
> > during tests execution, even though they are still looked up by their
> > initial numericId.
> >
> > We are using this workaround:
> >
> >
> > https://github.com/apache/syncope/blob/master/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AbstractConsoleITCase.java#L107-L125
> >
> > which is serving its purpose for the moment; please note that this was not
> > needed with Wicket 8.
> >
> > Are we missing something or the one above is effectively a bug?
> >
> > Thanks for your support.
> > Regards.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> 

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

Reply via email to