james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmeet Bedi" <hb...@yahoo.com>
Subject Re: bug in JamesSpoolManager.
Date Sun, 25 Mar 2001 23:45:32 GMT
Found the string "Mail.ERROR" in one more place, again n JamesSpoolManager.
These changes seem to fix the bug.

@@ -188,13 +188,13 @@
                 //This is a strange error situation that shouldn't
ordinarily happen
                 System.err.println("Exception in processor <" +
processorName + ">");
                 e.printStackTrace();
-                if (processorName.equals("Mail.ERROR")) {
+                if (processorName.equals(Mail.ERROR)) {
                     //We got an error on the error processor... kill the
message
                     mail.setState(Mail.GHOST);
                     mail.setErrorMessage(e.getMessage());
                 } else {
                     //We got an error... send it to the error processor
-                    mail.setState("Mail.ERROR");
+                    mail.setState(Mail.ERROR);
                     mail.setErrorMessage(e.getMessage());
                 }
             }

Harmeet
----- Original Message -----
From: "Harmeet Bedi" <hbedi@yahoo.com>
To: <james-dev@jakarta.apache.org>
Sent: Sunday, March 25, 2001 3:27 PM
Subject: bug in JamesSpoolManager.


> line 197 of JamesSpoolManager sets the
> mail.setState("Mail.ERROR");
> This seems to be bug, it should be
> mail.setState(Mail.ERROR);
>
> Still waiting for cvs access. Someone else would need to checkin this
> fix.:-(.
> Sending it around in the hope that someone checks this in and noone gets
> bitten by this bug.
>
> Harmeet
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message