[ 
https://issues.apache.org/jira/browse/WICKET-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emond Papegaaij updated WICKET-4732:
------------------------------------

    Fix Version/s:     (was: 6.0.1)
                   6.1.0
    
> CssPackageResource doesn't work if the extension isn't css
> ----------------------------------------------------------
>
>                 Key: WICKET-4732
>                 URL: https://issues.apache.org/jira/browse/WICKET-4732
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.8
>            Reporter: Christoph Leiter
>            Assignee: Martin Grigorov
>             Fix For: 6.1.0, 1.5.9
>
>         Attachments: wicket-4732.tgz, wicket-4732.zip
>
>
> CssPackageResource#processResponse is never called if the extension isn't 
> css. It works for .css because PackageResourceReference#getResource checks if 
> the extension is css and then creates a CssPackageResource. For anything else 
> than .css/.js a PackageResource is created.
> Actually the overridden processResponse method in CssPackageResource (instead 
> of PackageResource) should get called, but 
> ResourceReferenceRegistry#createDefaultResourceReference installs a plain 
> PackageResource which gets called later.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to