Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 72769 invoked from network); 3 Jun 2009 10:20:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jun 2009 10:20:55 -0000 Received: (qmail 27517 invoked by uid 500); 3 Jun 2009 10:21:07 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 27432 invoked by uid 500); 3 Jun 2009 10:21:07 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 27422 invoked by uid 99); 3 Jun 2009 10:21:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 10:21:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jevica.arianne@gmail.com designates 74.125.46.158 as permitted sender) Received: from [74.125.46.158] (HELO yw-out-1718.google.com) (74.125.46.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2009 10:20:56 +0000 Received: by yw-out-1718.google.com with SMTP id 9so4147231ywk.50 for ; Wed, 03 Jun 2009 03:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=yNMvXBhq6p7fBKIB5QlGupuaxSxhzvFpNXiKlzXsXD4=; b=WaO6YTniHoiLEahUtnZEYtJKVLA427jcRYDqpSIBeQpZTRA3uCMs7lv4PdDoQOrOLc RIGCvLQ2Zo1bVmhQPiW8sfZfMYTipagcrtqE84j4xj0YdyGrbg6h5rMxIUngytxyHQPd BoNXlWbAhr242B20NvzdwRNvkf8ucUEk6WTjM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=kDiMuYIpaYQxrDJFm95qISL/ewkRL4kN7OXRZj+7VwCIH4ixqCuTivBANyNSwQEhNm Kah6d2ebo7B8UAqaWiBPYC7HssHg5J50P27gOUy4cvPn3AyL8eFeX4ahiyo+I1A2vCZN EQIw9543D1ssmW0IHVDJ4qflmVUu+uP2UH/zk= Received: by 10.100.121.16 with SMTP id t16mr797076anc.111.1244024435120; Wed, 03 Jun 2009 03:20:35 -0700 (PDT) Received: from ?192.168.245.82? ([222.127.13.226]) by mx.google.com with ESMTPS id 5sm1107694ywd.25.2009.06.03.03.20.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 03:20:34 -0700 (PDT) Message-ID: <4A264E6B.8060607@gmail.com> Date: Wed, 03 Jun 2009 18:20:27 +0800 From: "Jevica Arianne B. Zurbano" User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: dev@continuum.apache.org Subject: Re: svn commit: r781301 - /continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java References: <20090603084702.82631238888E@eris.apache.org> <1B0CBED0-FFD7-4696-86E0-6EE33D9B1DDC@apache.org> In-Reply-To: <1B0CBED0-FFD7-4696-86E0-6EE33D9B1DDC@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org The current behavior, having "ERROR" being returned will redirect to the Error page with no error message and no stack trace. And, the action error is displayed in another page; the page that is being accessed after the Error Occured page is displayed. The fix is to have the action error displayed in the build environment list page (success page). Brett Porter wrote: > I don't understand how this is the correct fix. Won't an exception now > go to the success page and not produce an error? > > On 03/06/2009, at 6:47 PM, jzurbano@apache.org wrote: > >> Author: jzurbano >> Date: Wed Jun 3 08:47:02 2009 >> New Revision: 781301 >> >> URL: http://svn.apache.org/viewvc?rev=781301&view=rev >> Log: >> [CONTINUUM-2250] Build Environment error message is displayed on the >> first accessed page >> >> Modified: >> >> continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java >> >> >> Modified: >> continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java >> >> URL: >> http://svn.apache.org/viewvc/continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java?rev=781301&r1=781300&r2=781301&view=diff >> >> ============================================================================== >> >> --- >> continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java >> (original) >> +++ >> continuum/branches/continuum-1.3.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java >> Wed Jun 3 08:47:02 2009 >> @@ -183,7 +183,6 @@ >> catch ( ProfileException e ) >> { >> addActionError( getText( "profile.remove.error" ) ); >> - return ERROR; >> } >> return SUCCESS; >> } >> >> > > -- Thanks, Jev