[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-dev
Subject:    [jira] Closed: (COCOON3-34) Attaching an aspect to
From:       "Reinhard Poetz (JIRA)" <jira () apache ! org>
Date:       2009-05-14 22:32:45
Message-ID: 382061312.1242340365557.JavaMail.jira () brutus
[Download RAW message or body]


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

Reinhard Poetz closed COCOON3-34.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0-alpha-2

> Attaching an aspect to "org.apache.cocoon.sitemap.node.Sitemap" leads to a \
>                 ClassCastException
> ---------------------------------------------------------------------------------------------
>  
> Key: COCOON3-34
> URL: https://issues.apache.org/jira/browse/COCOON3-34
> Project: Cocoon 3
> Issue Type: Bug
> Components: cocoon-sitemap
> Reporter: Andreas Pinter
> Assignee: Reinhard Poetz
> Priority: Minor
> Fix For: 3.0.0-alpha-2
> 
> Attachments: cocoon.log
> 
> 
> I tried to attach an around-aspect for every node: 
> @Around("execution(* invoke(..)) && within(org.apache.cocoon.sitemap.node.*)")
> This led to a ClassCastException for the first sitemap. (see attached logfile)
> After excluding sitemap from my aspect, everything works just fine:
> @Around("execution(* invoke(..)) && within(org.apache.cocoon.sitemap.node.* && \
> !org.apache.cocoon.sitemap.node.Sitemap)") Tested with cocoon-sample.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic