[ 
http://issues.apache.org/jira/browse/COCOON-1939?page=comments#action_12446406 
] 
            
Daniel Fagerstrom commented on COCOON-1939:
-------------------------------------------

I found the problem with the latest patch and have hopefully solved that with a 
new patch. There still might be some problems left though. For example I don't 
think inheritance works in three levels. And also the inheritance of properties 
need some more review. I'll return to it.

I would appriciate if you could contribute extensions to the 
cocoon-blocks-fw-sample that illustrates the cases that you have had problems 
with this far. in a later step we should build unit test cases from the 
examples.

> 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

        

Reply via email to