Return-Path: X-Original-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20F079DCC for ; Wed, 4 Apr 2012 17:38:34 +0000 (UTC) Received: (qmail 43282 invoked by uid 500); 4 Apr 2012 17:38:34 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 43263 invoked by uid 500); 4 Apr 2012 17:38:34 -0000 Mailing-List: contact bloodhound-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-commits@incubator.apache.org Received: (qmail 43254 invoked by uid 99); 4 Apr 2012 17:38:34 -0000 Received: from bloodhound-vm.apache.org (HELO bloodhound-vm) (140.211.11.32) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 17:38:34 +0000 Received: from bloodhound-vm.apache.org (localhost [127.0.0.1]) by bloodhound-vm (Postfix) with ESMTP id D5C168084C; Wed, 4 Apr 2012 10:38:33 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: "Apache Bloodhound" X-Trac-Version: 0.13dev-r10952 Cc: bloodhound-commits@incubator.apache.org Auto-Submitted: auto-generated X-Mailer: Trac 0.13dev-r10952, by Edgewall Software X-Trac-Project: Apache Bloodhound Date: Wed, 04 Apr 2012 17:38:33 -0000 Reply-To: bloodhound-dev@incubator.apache.org X-URL: https://issues.apache.org/bloodhound/ Subject: Re: [Apache Bloodhound] #27: Request that the ThemeEngine alters their implementation to work for Trac 0.13 (was: Request that the !ThemeEngine alters their implementation to work for Trac 0.13) X-Trac-Ticket-URL: https://issues.apache.org/bloodhound/ticket/27#comment:1 Message-ID: <067.4839de9f555619be7bc2c5589f8e2ee6@incubator.apache.org> References: <052.44af7bbc4ac9678c768ac8dfa3143525@incubator.apache.org> X-Trac-Ticket-ID: 27 In-Reply-To: <052.44af7bbc4ac9678c768ac8dfa3143525@incubator.apache.org> #27: Request that the ThemeEngine alters their implementation to work for Trac 0.13 ----------------------+------------------------- Reporter: gjm | Owner: gjm Type: task | Status: new Priority: major | Milestone: Unscheduled Component: plugins | Version: Resolution: | Keywords: ----------------------+------------------------- Old description: > Changes to Trac's component model stopped the [http://trac- > hacks.org/wiki/ThemeEnginePlugin ThemeEnginePlugin] working due to the > recursion error discussed in #22. > > Although #22 provides Bloodhound's branch of Trac with a way of dealing > with this, it would be better for the !ThemeEngine to find a way of > dealing with the recursion and for us to catch recursion errors to report > the error more gracefully. > > If we can convince the !ThemeEngine to make this change, please raise a > new ticket for handling recursion errors. New description: Changes to Trac's component model stopped the [http://trac- hacks.org/wiki/ThemeEnginePlugin ThemeEnginePlugin] working due to the recursion error discussed in #22. Although #22 provides Bloodhound's branch of Trac with a way of dealing with this, it would be better for the !ThemeEngine to find a way of dealing with the recursion and for us to catch recursion errors to report the error more gracefully. If we can convince the !ThemeEngine to make this change, please raise a new ticket for handling all component initialisation errors. -- Comment (by gjm): Updated summary as Ethan Jucovy pointed out that it is not just recursion errors that can error. The resulting ticket should make sure that we handle all initialisation errors gracefully: > Surviving the exception would be nice; even just catching the exception and re-raising it wrapped in some kind of !PluginInitializationException(plugin_name, exc) would probably be better than the current behavior. (from [http://mail-archives.apache.org/mod_mbox/incubator-bloodhound- dev/201204.mbox/%3CCAMmgw9k470qZ3=VQDryDoz=ShC1MMx=0sKgBi83yUPgyiww8KA@mail.gmail.com%3E Ethan's reply]) -- Ticket URL: Apache Bloodhound The Apache Bloodhound (incubating) issue tracker