From graffito-dev-return-745-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Sat Nov 26 22:30:06 2005 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 1911 invoked from network); 26 Nov 2005 22:30:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Nov 2005 22:30:06 -0000 Received: (qmail 31270 invoked by uid 500); 26 Nov 2005 22:30:06 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 31246 invoked by uid 99); 26 Nov 2005 22:30:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Nov 2005 14:30:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of christophe.lombart@gmail.com designates 64.233.182.197 as permitted sender) Received: from [64.233.182.197] (HELO nproxy.gmail.com) (64.233.182.197) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Nov 2005 14:31:36 -0800 Received: by nproxy.gmail.com with SMTP id p46so217512nfa for ; Sat, 26 Nov 2005 14:29:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lD23YmHr9Sofbs6jYBRmWPo5IP8PODx9lzLsTUraOu2T6XhmKsgVWZC6tN9Paz80E1XYRGaapI3kaO6uHQOQTkCaH8SzqJBfIPzLC0a5fk3iVcPTa+5h/cSJNkXvKY9AngNotMS3xd71oMoHH3YZRX/jqMWiwflcx/P6FxexMWw= Received: by 10.48.211.3 with SMTP id j3mr316164nfg; Sat, 26 Nov 2005 14:29:43 -0800 (PST) Received: by 10.49.1.3 with HTTP; Sat, 26 Nov 2005 14:29:43 -0800 (PST) Message-ID: <3b728ee90511261429l49ce7e3as893fa4370ad5e7e8@mail.gmail.com> Date: Sat, 26 Nov 2005 23:29:43 +0100 From: Christophe Lombart To: graffito-dev@incubator.apache.org Subject: Re: Is File Upload Broken? In-Reply-To: <3b728ee90511241133u70420283wcae2e4bb1f8a2094@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1B8DAB31-9A73-41FB-8D30-B5BD32018959@apache.org> <3b728ee90511240038o210fdc09pafc28f84aa13c481@mail.gmail.com> <4385D08E.3040508@yahoo.co.jp> <3b728ee90511240705i4baa1748o459cfef9cea40391@mail.gmail.com> <3b728ee90511241133u70420283wcae2e4bb1f8a2094@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Greg, If you update Jetspeed 2 trunk, the problem is solved. Christophe On 11/24/05, Christophe Lombart wrote: > I found the cause but not yet the solution :-) > > ActionRequest .getContentType() return null. With J2 M3, it returns > "MULTIPART ..." when an upload is submitted. I continue my > investigations. > > Christophe > > On 11/24/05, Christophe Lombart wrote: > > Thanks Shinsuke, > > > > Can you explain what kind of issue is it ? > > > > Christophe > > > > On 11/24/05, Shinsuke SUGAYA wrote: > > > Hi Christophe, > > > > > > In the latest J2 code, ActionRequest seems to have issues. > > > The cause may be: > > > > > > http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/por= tal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java?rev= =3D331663&r1=3D331662&r2=3D331663&view=3Ddiff > > > > > > Ate, > > > > > > Could you check it? > > > > > > Regards, > > > shinsuke > > > > > > > > > Christophe Lombart wrote: > > > > Correct, file upload is broken. > > > > I'm going to review the code ASAP. > > > > > > > > Christophe > > > > On 11/23/05, Greg Reddin wrote: > > > > > > > >>I am not able to upload binary files using the latest source > > > >>including the most recent patch. > > > >> > > > >>I don't see anywhere that the upload() method in DocumentAction is > > > >>being called. If you go through the Graffito Browser portlet and t= ry > > > >>to upload a document, then select a file in the upload step, then > > > >>click "Upload Document" it simply takes you back to the same screen > > > >>without doing anything. DocumentAction's createWizard method is > > > >>called a couple times, but it doesn't appear the flow ever gets > > > >>around to calling the upload() method. > > > >> > > > >>I admit that I don't know very much about Velocity and the > > > >>GraffitoPortlet or how the flow works, but I think I'm getting > > > >>there. It appears to me there's some missing functionality somewhe= re. > > > >> > > > >>Greg > > > >> > > > > > > > > > > > > > > -------------------------------------- > > > STOP HIV/AIDS. > > > Yahoo! JAPAN Redribbon Campaign 2005 > > > http://pr.mail.yahoo.co.jp/redribbon/ > > > > > >