[
https://issues.apache.org/jira/browse/WICKET-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5472.
-------------------------------------
Resolution: Fixed
Fix Version/s: 7.0.0
6.14.0
> PackageResource#internalGetResourceStream() should return
> ProcessingResourceStream only when the resource is existing
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-5472
> URL: https://issues.apache.org/jira/browse/WICKET-5472
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.13.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.14.0, 7.0.0
>
>
> The fix for WICKET-4762 introduced ProcessingResourceStream - a resource
> stream that wraps another IResourceStream and processes its InputStream (e.g.
> compresses it).
> There is a bug that even when the resource is not found, i.e. the resource
> stream is null, Wicket still wraps it in ProcessingResourceStream.
> Another inefficiency is that ResourceStreamWrapper (the parent of
> ProcessingResourceStream) declares its method #getDelegate() as protected. It
> should be public.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)