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 D1531D503 for ; Mon, 1 Oct 2012 16:04:18 +0000 (UTC) Received: (qmail 93002 invoked by uid 500); 1 Oct 2012 16:04:18 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 92983 invoked by uid 500); 1 Oct 2012 16:04:18 -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 92974 invoked by uid 99); 1 Oct 2012 16:04:18 -0000 Received: from bloodhound-vm.apache.org (HELO bloodhound-vm) (140.211.11.32) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2012 16:04:18 +0000 Received: from bloodhound-vm.apache.org (localhost [127.0.0.1]) by bloodhound-vm (Postfix) with ESMTP id EAEC580906; Mon, 1 Oct 2012 16:04:17 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: "Apache Bloodhound" X-Trac-Version: 0.13dev-r1360726 Cc: bloodhound-commits@incubator.apache.org Auto-Submitted: auto-generated X-Mailer: Trac 0.13dev-r1360726, by Edgewall Software X-Trac-Project: Apache Bloodhound Date: Mon, 01 Oct 2012 16:04:16 -0000 Reply-To: bloodhound-dev@incubator.apache.org X-URL: https://issues.apache.org/bloodhound/ Subject: [Apache Bloodhound] #215: TicketSystem.format_summary raises exception for missing resource id X-Trac-Ticket-URL: https://issues.apache.org/bloodhound/ticket/215 Message-ID: <052.bcaaf09685cf3ff55f8a9048a8215e32@incubator.apache.org> X-Trac-Ticket-ID: 215 #215: TicketSystem.format_summary raises exception for missing resource id -----------------------+-------------------- Reporter: gjm | Owner: nobody Type: defect | Status: new Priority: minor | Milestone: Component: dashboard | Version: Keywords: | -----------------------+-------------------- This output was from #204 which has been fixed but the underlying problem appears to be that {{{TicketSystem.format_summary}}} is failing when perhaps it should not. {{{ File "/home/bloodhound/bh/bloodhound/bloodhound_dashboard/bhdashboard/widgets/templates/widget_timeline.html", line 54, in No events reported for ${summary_of(context.resource)} in the File "/home/bloodhound/bh/bloodhound/trac/trac/resource.py", line 347, in get_resource_summary return get_resource_description(env, resource, 'summary') File "/home/bloodhound/bh/bloodhound/trac/trac/resource.py", line 333, in get_resource_description return manager.get_resource_description(resource, format, **kwargs) File "/home/bloodhound/bh/bloodhound/trac/trac/ticket/api.py", line 555, in get_resource_description return self.format_summary(*args) File "/home/bloodhound/bh/bloodhound/trac/trac/ticket/api.py", line 561, in format_summary summary = type + ': ' + summary }}} We should check if Trac has already fixed this. -- Ticket URL: Apache Bloodhound The Apache Bloodhound (incubating) issue tracker