Ah, good news - so the behaviour was not related to our IResourceFinder implementation :)

Thanks for your time and investigating the issue !


https://issues.apache.org/jira/browse/WICKET-7024
The attached quickstart there does not use your finder.

On Thu, Jan 12, 2023 at 12:27 PM Tobias Gierke
<tobias.gie...@voipfuture.com.invalid> wrote:

I see!

Can you reproduce this in a quickstart ?



Yes, attached a quickstart to this e-mail (I hope it goes through). It
somehow seems to be related to the custom IResourceFinder we've registered
*and* <wicket:link/> because if either of those is *not* present, the
issue goes away. I'm reluctant to file a bug report for that just yet
because maybe our IResourceFinder implementation does something weird/wrong.

To reproduce:

1.) Put a conditional "key.style != null" breakpoint on
CachingResourceStreamLocator#updateCache , line 107 (where the "stream
instanceof UrlResourceStream") case is getting handled
2.) Run the quickstart and click the AJAX button that redirects to the
homepage
3.) Observe that the breakpoint gets hit with style != null


--
Tobias Gierke
Software Developer

Voipfuture GmbH   Wendenstr. 4   20097 Hamburg   Germany
Phone +49 40 688 9001 64   Fax +49 40 688 9001 99
Managing Directors   Jan Bastian   Eyal Ullert
Commercial Court AG Hamburg   HRB 109896   VAT ID DE263738086


Reply via email to