Hi, shared 2 disabled tests in the file [1] pinpointing 2 problems:

- distinct replies depending if the RR is mounted or not
  - context: #getStyleFromUrl
  - disabled: #getStyleFromUrlWhenMountedResource

- distinct RR types used to reply requests for the same resource
  - context: #getResourceReferenceContributedInPage
  - disabled: #getResourceReferenceContributedInPageWithStyleFromUrl

1 -
https://github.com/pedrosans/wicket/blob/8a620e0a648ab66ff449ac47955cb514afb585b4/wicket-core-tests/src/test/java/org/apache/wicket/core/request/resource/PackageResourceReferenceTest.java

Pedro Santos


On Mon, Nov 18, 2024 at 9:11 AM Richard Eckart de Castilho <r...@apache.org>
wrote:

>
> > On 18. Nov 2024, at 00:33, Pedro Santos <pedros...@gmail.com> wrote:
> >
> > In this alternative,
> > we would need to make PackageResourceReference a final class, since the
> > newly created one will not guarantee to be of the same subtype as the one
> > in the ResourceMapper.
>
> PackageResourceReference is subclassed all over the place in third-party
> libraries and applications. Making it final doesn't seem like a good
> option.
>
> For curiosity: what is the problem with URL decoding in the first place?
>
> Cheers,
>
> -- Richard
>
>

Reply via email to