Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
@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.