Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 1838 invoked from network); 26 Oct 2006 06:03:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:03:56 -0000 Received: (qmail 82409 invoked by uid 500); 25 Oct 2006 21:56:36 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 82351 invoked by uid 500); 25 Oct 2006 21:56:36 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 82326 invoked by uid 99); 25 Oct 2006 21:56:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 14:56:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 14:56:23 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E9FEC7142C2 for ; Wed, 25 Oct 2006 14:55:17 -0700 (PDT) Message-ID: <31144079.1161813317955.JavaMail.root@brutus> Date: Wed, 25 Oct 2006 14:55:17 -0700 (PDT) From: "Daniel Fagerstrom (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-1939) Stack overflow when inheriting from block that alread inherits from another one In-Reply-To: <15870099.1161698657900.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/COCOON-1939?page=comments#action_12444741 ] Daniel Fagerstrom commented on COCOON-1939: ------------------------------------------- Implemented the fix described above. Not much testing though. Please check that your usecase works, and close the issue if that is the case. > 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