Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1939

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 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.

      Attachments

        Issue Links

          Activity

            People

              grek Grzegorz Kossakowski
              alexander.klimetschek Alexander Klimetschek
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: