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 1F2F3E2AC for ; Fri, 8 Mar 2013 13:29:42 +0000 (UTC) Received: (qmail 57384 invoked by uid 500); 8 Mar 2013 13:29:42 -0000 Delivered-To: apmail-incubator-bloodhound-commits-archive@incubator.apache.org Received: (qmail 57328 invoked by uid 500); 8 Mar 2013 13:29:41 -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 57307 invoked by uid 99); 8 Mar 2013 13:29:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 13:29:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 13:29:38 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6C34623889E0; Fri, 8 Mar 2013 13:29:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1454379 - /incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py Date: Fri, 08 Mar 2013 13:29:18 -0000 To: bloodhound-commits@incubator.apache.org From: matevz@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130308132918.6C34623889E0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: matevz Date: Fri Mar 8 13:29:18 2013 New Revision: 1454379 URL: http://svn.apache.org/r1454379 Log: Ref #429, /products url wasn't working properly Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py Modified: incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py URL: http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py?rev=1454379&r1=1454378&r2=1454379&view=diff ============================================================================== --- incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py (original) +++ incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_multiproduct/multiproduct/web_ui.py Fri Mar 8 13:29:18 2013 @@ -147,8 +147,11 @@ class ProductModule(Component): # IRequestHandler methods def match_request(self, req): + if req.path_info == '/products': + return True + + # handle '/products/...', but excluding QuickCreateTicket (qct) requests m = PRODUCT_RE.match(req.path_info) - # handle '/products', but excluding QuickCreateTicket (qct) requests return m and m.group('pathinfo').strip('/') != 'qct' def process_request(self, req):