Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-10 Thread Francesco Chicchiriccò
On 2020/04/10 08:13:40, Maxim Solodovnik wrote: > On Fri, 10 Apr 2020 at 15:06, Francesco Chicchiriccò > wrote: > > > On 2020/04/10 06:59:06, Sven Meier wrote: > > > Hi Francesco, > > > > > > there was a slight difference in the mock setup, which should now be as > > > in Wicket 8: > > > > > >

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-10 Thread Maxim Solodovnik
On Fri, 10 Apr 2020 at 15:06, Francesco Chicchiriccò wrote: > On 2020/04/10 06:59:06, Sven Meier wrote: > > Hi Francesco, > > > > there was a slight difference in the mock setup, which should now be as > > in Wicket 8: > > > > https://issues.apache.org/jira/browse/WICKET-6766 > > > > Many t

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-10 Thread Francesco Chicchiriccò
On 2020/04/10 06:59:06, Sven Meier wrote: > Hi Francesco, > > there was a slight difference in the mock setup, which should now be as > in Wicket 8: > >     https://issues.apache.org/jira/browse/WICKET-6766 > > Many thanks for testing with Wicket 9! Great spot Sven! Which is the SNAPSHOT v

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Sven Meier
Hi Francesco, there was a slight difference in the mock setup, which should now be as in Wicket 8:     https://issues.apache.org/jira/browse/WICKET-6766 Many thanks for testing with Wicket 9! Sven On 09.04.20 16:42, Francesco Chicchiriccò wrote: On 2020/04/09 12:04:00, Sven Meier wrote:

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Francesco Chicchiriccò
On 2020/04/09 12:04:00, Sven Meier wrote: > Hi Francesco, > > I'll have to check what has changed here. > > I wouldn't expect any problems with MockPageStore, but perhaps it > changed slightly. > > Can you write a testcase that runs in Wicket 8 but fails in 9? Not sure if I am able, but I'll

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Francesco Chicchiriccò
On 2020/04/09 12:01:25, Martin Grigorov 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

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Sven Meier
Hi Francesco, I'll have to check what has changed here. I wouldn't expect any problems with MockPageStore, but perhaps it changed slightly. Can you write a testcase that runs in Wicket 8 but fails in 9? Have fun Sven On 09.04.20 12:20, Francesco Chicchiriccò wrote: Hi all, at Syncope we h

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Martin Grigorov
It is not my day today! :-) This is the second description of an issue here in users@ which I don't understand. I'll let someone else try to help you. On Thu, Apr 9, 2020 at 2:32 PM Francesco Chicchiriccò wrote: > On 2020/04/09 10:58:13, Martin Grigorov wrote: > > Hi, > > > > Why do you need to

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Francesco Chicchiriccò
On 2020/04/09 10:58:13, Martin Grigorov 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 hav

Re: Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Martin Grigorov
Hi, Why do you need to use PageManager ? By default WicketTester uses MockPageManager without a backing PageStore. On Thu, Apr 9, 2020 at 1:20 PM Francesco Chicchiriccò wrote: > Hi all, > at Syncope we have been upgrading our Console and Enduser web applications > from Wicket 8 to 9.0.0-M5, in

Upgrade to Wicket 9: troubles with WicketTester and MockPageStore

2020-04-09 Thread Francesco Chicchiriccò
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