Lazy registration in SharedResourceRequestTarget fails
------------------------------------------------------
Key: WICKET-1446
URL: https://issues.apache.org/jira/browse/WICKET-1446
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.2
Reporter: Tony Vegas
Fix For: 1.3.3
The lazy registration of shared resources which are not of scope
org.apache.wicket.Application fails.
It fails because registers SharedResourceRequestTarget the resource with
sharedResources.add(resourceKey, packageResource);
but should use
sharedResources.add(scope, path,null,null, packageResource);
The problem is that add(final String name, final Resource resource) expects a
name for the resource and not the complete resource key.
As consequence the resource is registered again and again with scope
org.apache.wicket.Application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.