cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Déflache (JIRA) <j...@apache.org>
Subject [jira] Commented: (COCOON-1698) [PATCH] caching-global-use-attributes does not work
Date Tue, 24 Jan 2006 09:34:23 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1698?page=comments#action_12363800 ] 

Guillaume Déflache commented on COCOON-1698:
--------------------------------------------

Sorry, the modification you made to the patch sent is incorrect: if "cacheGlobal" is true
and "cacheGlobalUseAttributes" is false, nothing should happen as it was done before, but
with your commit it now removes the coplet temporary attributes from the cache!
IMHO it is simpler to keep the nested tests as is.

> [PATCH] caching-global-use-attributes does not work
> ---------------------------------------------------
>
>          Key: COCOON-1698
>          URL: http://issues.apache.org/jira/browse/COCOON-1698
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Portal
>     Versions: 2.1.8, 2.1.9-dev (current SVN)
>     Reporter: Guillaume Déflache
>  Attachments: CachingURICopletAdapter.java.diff
>
> Global cache using attributes does not work: an event on a coplet instance always delete
the corresponding cache entry.
> In fact a coplet instance event only allows to modify the coplet instance attributes.
However all the attributes are part of the cache key. So modify them must make no cache entry
invalid but must lead to the creation of a new entry.
> Included patch fixes just this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message