Return-Path: Mailing-List: contact turbine-torque-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list turbine-torque-dev@jakarta.apache.org Received: (qmail 18416 invoked by uid 98); 17 Dec 2002 21:40:01 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 18397 invoked from network); 17 Dec 2002 21:39:59 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 17 Dec 2002 21:39:59 -0000 Received: (qmail 1204 invoked by uid 500); 17 Dec 2002 21:38:44 -0000 Received: (qmail 1196 invoked from network); 17 Dec 2002 21:38:44 -0000 Received: from zeus.di.uoa.gr (195.134.65.4) by daedalus.apache.org with SMTP; 17 Dec 2002 21:38:44 -0000 Received: from kronos.di.uoa.gr (root@kronos.di.uoa.gr [195.134.65.119]) by zeus.di.uoa.gr (8.12.3/8.12.3) with ESMTP id gBHLcLGI013052 for ; Tue, 17 Dec 2002 23:38:21 +0200 (EET) Received: from di.uoa.gr (andyhot.di.uoa.gr [195.134.67.91]) by kronos.di.uoa.gr (8.12.3/8.12.3) with ESMTP id gBHLcGao007202 for ; Tue, 17 Dec 2002 23:38:20 +0200 (EET) Message-ID: <3DFF9953.7050100@di.uoa.gr> Date: Tue, 17 Dec 2002 23:38:27 +0200 From: Andreou Andreas Organization: University of Athens User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Torque Developers List Subject: Scarab exception ... References: <3692621.1040162580951.JavaMail.jmcnally@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Maybe this is not the best place for this post, but when adding an attachment to an issue, I get an Exception (instead of a "nice" error message) in the following two cases: 1) The path for the file is not set. 2) The type of the attachment is not set The exception is: org.tigris.scarab.util.ScarabException: Path is not set prior to saving. at org.tigris.scarab.om.Attachment.getRelativePath(Attachment.java:421) at org.tigris.scarab.om.Attachment.registerAddActivity(Attachment.java:224) at org.tigris.scarab.actions.ModifyIssue.handleAttachment(ModifyIssue.java:497) at org.tigris.scarab.actions.ModifyIssue.doSubmitfile(ModifyIssue.java:438) at java.lang.reflect.Method.invoke(Native Method) ... rethrown as org.apache.turbine.TurbineException: Path is not set prior to saving. at org.apache.turbine.pipeline.DefaultActionValve.invoke(DefaultActionValve.java:105) at org.apache.turbine.pipeline.TurbinePipeline.invokeNext(TurbinePipeline.java:229) at org.apache.turbine.pipeline.DefaultACLCreationValve.invoke(DefaultACLCreationValve.java:120) at org.apache.turbine.pipeline.TurbinePipeline.invokeNext(TurbinePipeline.java:229)