You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by se...@james.apache.org on 2004/08/15 01:27:21 UTC

[jira] Resolved: (JAMES-317) FromProcessor doesn't delete, throws ClassCastException

Message:

   The following issue has been resolved as FIXED.

   Resolver: Noel J. Bergman
       Date: Sat, 14 Aug 2004 4:26 PM

Fixed.  Changed code to iterate over the Collection in the mailet.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-317

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-317
    Summary: FromProcessor doesn't delete, throws ClassCastException
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: James
 Components: 
             Matchers/Mailets (bundled)
   Fix Fors:
             2.2.1
   Versions:
             2.2.0

   Assignee: 
   Reporter: Noel J. Bergman

    Created: Sat, 14 Aug 2004 4:25 PM
    Updated: Sat, 14 Aug 2004 4:26 PM

Description:
FromRepository doesn't delete messages.  Using <delete> results in a ClassCastException:

 java.lang.ClassCastException
    at AvalonMailRepository.java:372
    at FromRepository.java:132

The code is calling MailRepository.remove(Collection) which expects a Collection<Mail>, but is being passed a Collection<String>.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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