You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sylvain Vieujot (JIRA)" <ji...@apache.org> on 2011/07/09 14:35:16 UTC

[jira] [Created] (WICKET-3883) ResourceReferences URL are not decorated with the CachingStrategy

ResourceReferences URL are not decorated with the CachingStrategy
-----------------------------------------------------------------

                 Key: WICKET-3883
                 URL: https://issues.apache.org/jira/browse/WICKET-3883
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
            Reporter: Sylvain Vieujot


If you set your Application with getResourceSettings().setCachingStrategy( new FilenameWithTimestampResourceCachingStrategy() );

Then in a WebPage#renderHead(IHeaderResponse response)
response.renderCSSReference( MyResourceReference )
generates an URL that is not decorated by the CachingStrategy.
And the ResourceReference is cached forever.

The same with a QueryStringWithTimestampResourceCachingStrategy generates a NPE (See WICKET-3882 ). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (WICKET-3883) ResourceReferences URL are not decorated with the CachingStrategy

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-3883:
-------------------------------------

    Assignee: Peter Ertl

> ResourceReferences URL are not decorated with the CachingStrategy
> -----------------------------------------------------------------
>
>                 Key: WICKET-3883
>                 URL: https://issues.apache.org/jira/browse/WICKET-3883
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>            Reporter: Sylvain Vieujot
>            Assignee: Peter Ertl
>
> If you set your Application with getResourceSettings().setCachingStrategy( new FilenameWithTimestampResourceCachingStrategy() );
> Then in a WebPage#renderHead(IHeaderResponse response)
> response.renderCSSReference( MyResourceReference )
> generates an URL that is not decorated by the CachingStrategy.
> And the ResourceReference is cached forever.
> The same with a QueryStringWithTimestampResourceCachingStrategy generates a NPE (See WICKET-3882 ). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (WICKET-3883) ResourceReferences URL are not decorated with the CachingStrategy

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl closed WICKET-3883.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC6

all these things work for me in current wicket-trunk. Please verify and reopen the issue if any of these problems are still present.

> ResourceReferences URL are not decorated with the CachingStrategy
> -----------------------------------------------------------------
>
>                 Key: WICKET-3883
>                 URL: https://issues.apache.org/jira/browse/WICKET-3883
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>            Reporter: Sylvain Vieujot
>            Assignee: Peter Ertl
>             Fix For: 1.5-RC6
>
>
> If you set your Application with getResourceSettings().setCachingStrategy( new FilenameWithTimestampResourceCachingStrategy() );
> Then in a WebPage#renderHead(IHeaderResponse response)
> response.renderCSSReference( MyResourceReference )
> generates an URL that is not decorated by the CachingStrategy.
> And the ResourceReference is cached forever.
> The same with a QueryStringWithTimestampResourceCachingStrategy generates a NPE (See WICKET-3882 ). 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira