Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
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.
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.
Attachments
Issue Links
- relates to
-
COCOON-2038 Implement true Object Oriented approach for handling super calls
- Closed