cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <>
Subject [jira] Created: (COCOON-2245) Not unique caching key for different blocks
Date Fri, 03 Oct 2008 13:52:44 GMT
Not unique caching key for different blocks

                 Key: COCOON-2245
             Project: Cocoon
          Issue Type: Bug
          Components: * Cocoon Core
    Affects Versions: 2.2, 2.2-dev (Current SVN)
            Reporter: Felix Knecht

ExpiresCachingProcessingPipeline doesn't generates unique default caching key for different

When having 2 blocks running, each containing an image '.../images/foo.png' the key for the
cache is 'images/foo.png'. This is wrong as it doesn't respects that this are images of different
The default cache key is generated in core/cocoon-pipeline/cocoon-pipeline-impl/src/main/java/org/apache/cocoon/components/pipeline/impl/
key = environment.getURIPrefix()+environment.getURI();

So the generation of the key is correct, but environment.getURIPrefix() is empty. I'm sure
this is the part making the difference.
I can't find where the URIPrefix is set (supposing it could be in core/cocoon-pipeline/cocoon-pipeline-impl/src/main/java/org/apache/cocoon/environment/http/

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message