Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-317

FromProcessor doesn't delete, throws ClassCastException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Labels:
      None

      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>.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                noel Noel J. Bergman
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: