Cocoon
  1. Cocoon
  2. COCOON-1939

Stack overflow when inheriting from block that alread inherits from another one

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Labels:
      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.

        Issue Links

          Activity

          Alexander Klimetschek created issue -
          Daniel Fagerstrom made changes -
          Field Original Value New Value
          Link This issue relates to COCOON-2038 [ COCOON-2038 ]
          Grzegorz Kossakowski made changes -
          Assignee Grzegorz Kossakowski [ grek ]
          Grzegorz Kossakowski made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            • Assignee:
              Grzegorz Kossakowski
              Reporter:
              Alexander Klimetschek
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development