You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Thorsten Scherler (JIRA)" <ji...@apache.org> on 2012/06/01 23:17:23 UTC

[jira] [Reopened] (COCOON3-30) The current implementation of the ParameterCacheKey actually breaks the caching

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

Thorsten Scherler reopened COCOON3-30:
--------------------------------------

      Assignee:     (was: Steven Dolg)

The problem with the current implementation is that the ResponseHeaderCollector is collecting the lastModified if the etag is not set.
                
> The current implementation of the ParameterCacheKey actually breaks the caching
> -------------------------------------------------------------------------------
>
>                 Key: COCOON3-30
>                 URL: https://issues.apache.org/jira/browse/COCOON3-30
>             Project: Cocoon 3
>          Issue Type: Bug
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-1
>            Reporter: Steven Dolg
>            Priority: Critical
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: parametercachekey.patch
>
>
> The equals() and hashcode() implementations of the ParameterCacheKey do *not* take the actual parameters into account.
> This makes it possible that different pipeline setups have the same cache key and overwrite their cached results.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira