wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò <ilgro...@apache.org>
Subject Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore
Date Thu, 09 Apr 2020 14:39:32 GMT
On 2020/04/09 12:01:25, Martin Grigorov <mgrigorov@apache.org> wrote: 
> It is not my day today! :-)
> This is the second description of an issue here in users@ which I don't
> understand.

np Martin, I understand you completely :-)

> I'll let someone else try to help you.
> 
> On Thu, Apr 9, 2020 at 2:32 PM Francesco Chicchiriccò <ilgrosso@apache.org>
> wrote:
> 
> > On 2020/04/09 10:58:13, Martin Grigorov <mgrigorov@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ò <
> > ilgrosso@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message