[ http://issues.apache.org/jira/browse/COCOON-1939?page=comments#action_12445359 ] Daniel Fagerstrom commented on COCOON-1939: -------------------------------------------
The BlockContext wasn't pushed at the BlockCallStack when doing a polymorphic call through the block protocol, like block:/foo in your example, this made subsequent block protocol call be called relative to the wrong context of the super block A instead of relative the context of B. Please check if it solves the problem for you. > Stack overflow when inheriting from block that alread inherits from another > one > ------------------------------------------------------------------------------- > > Key: COCOON-1939 > URL: http://issues.apache.org/jira/browse/COCOON-1939 > Project: Cocoon > Issue Type: Bug > Components: - Blocks Framework > Affects Versions: 2.2-dev (Current SVN) > Reporter: Alexander Klimetschek > > There are problems with the following scenario: I have one Block A, another > one B that has A as super-block defined and a third one C that has B as > super-block defined. > The super-relation between B and A works ok, but if you start in C, then > forward to B, which in turn wants to forward to block A (all via the > block:super: protocol), a stack overflow happens. It looks like he always > thinks he is in C, so that block:super: from B will always get to B, thus > creating an endless loop. -- 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