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 <[EMAIL PROTECTED]> wrote: > Thanks Shinsuke, > > Can you explain what kind of issue is it ? > > Christophe > > On 11/24/05, Shinsuke SUGAYA <[EMAIL PROTECTED]> 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/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java?rev=331663&r1=331662&r2=331663&view=diff > > > > 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 <[EMAIL PROTECTED]> 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 try > > >>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 somewhere. > > >> > > >>Greg > > >> > > > > > > > > > > -------------------------------------- > > STOP HIV/AIDS. > > Yahoo! JAPAN Redribbon Campaign 2005 > > http://pr.mail.yahoo.co.jp/redribbon/ > > >
